SourceMapError

Swift
public enum SourceMapError: Error, CustomStringConvertible

Error conditions detected by the module.


Topics

Cases

case invalidFormat(Int)

Source map decoding failed because the format field’s value is invalid.

Declaration
Swift
case invalidFormat(Int)

case inconsistentSources(sourcesCount: Int, sourcesContentCount: Int)

Source map decoding failed because the sources and sourcesContent fields have different cardinalities.

Declaration
Swift
case inconsistentSources(sourcesCount: Int, sourcesContentCount: Int)

case invalidBase64Character(Character)

Source map decoding failed because of an invalid character in the mappings field.

Declaration
Swift
case invalidBase64Character(Character)

case invalidVLQStringUnterminated(vlq: String, soFar: [Int32])

Source map decoding failed because a VLQ sequence does not terminate properly.

Declaration
Swift
case invalidVLQStringUnterminated(vlq: String, soFar: [Int32])

case invalidVLQStringLength([Int32])

Source map decoding failed because a VLQ sequence has the wrong number of entries.

Declaration
Swift
case invalidVLQStringLength([Int32])

case invalidSource(Int, count: Int)

Source map encoding failed because a source index is out of range.

Declaration
Swift
case invalidSource(Int, count: Int)

case invalidName(Int, count: Int)

Source map encoding failed because a name index is out of range.

Declaration
Swift
case invalidName(Int, count: Int)

Properties

var description: String

A short human-readable description of the error.

Declaration
Swift
public var description: String { get }