Interface: CompileError¶
Defined in: compiler/src/types.ts:125
Compilation error with additional metadata.
Properties¶
code¶
code:
string
Defined in: compiler/src/types.ts:129
Error code or rule ID
format?¶
optionalformat?: () =>string
Defined in: compiler/src/types.ts:139
Format error for display
Returns¶
string
location?¶
optionallocation?:object
Defined in: compiler/src/types.ts:133
Source location
column?¶
optionalcolumn?:number
file?¶
optionalfile?:string
line?¶
optionalline?:number
message¶
message:
string
Defined in: compiler/src/types.ts:131
Error message
name¶
name:
string
Defined in: compiler/src/types.ts:127
Error name/type