CharacterScopeError
Defined in: src/converter.ts:189 (opens in a new tab)
Error raised when a converter rejects recognized unsupported input.
Extends
Section titled “Extends”RangeError
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CharacterScopeError(
diagnostics):CharacterScopeError
Defined in: src/converter.ts:194 (opens in a new tab)
Creates an error with an immutable snapshot of the source diagnostics.
Parameters
Section titled “Parameters”diagnostics
Section titled “diagnostics”readonly CharacterScopeDiagnostic[]
Returns
Section titled “Returns”CharacterScopeError
Overrides
Section titled “Overrides”RangeError.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:unknown
Defined in: web/docs/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Section titled “Inherited from”RangeError.cause
diagnostics
Section titled “diagnostics”
readonlydiagnostics: readonlyCharacterScopeDiagnostic[]
Defined in: src/converter.ts:191 (opens in a new tab)
Every rejected occurrence, indexed in the parsed source document.
message
Section titled “message”message:
string
Defined in: web/docs/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”RangeError.message
name:
string
Defined in: web/docs/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Section titled “Inherited from”RangeError.name
stack?
Section titled “stack?”
optionalstack?:string
Defined in: web/docs/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”RangeError.stack