CompileError
Defined in: compiler/src/types.ts:215
Compilation error with additional metadata.
Properties
agentName?
optionalagentName?:string
Defined in: compiler/src/types.ts:235
First agent name included in the diagnostic
causeCode?
optionalcauseCode?:string
Defined in: compiler/src/types.ts:223
Code of the underlying error, such as the parser code behind a resolve error
code
code:
string
Defined in: compiler/src/types.ts:219
Error code or rule ID
conflicts?
optionalconflicts?:AgentConflict[]
Defined in: compiler/src/types.ts:233
All agent conflicts included in the diagnostic
format?
optionalformat?: () =>string
Defined in: compiler/src/types.ts:237
Format error for display
Returns
string
location?
optionallocation?:object
Defined in: compiler/src/types.ts:225
Source location
column?
optionalcolumn?:number
file?
optionalfile?:string
line?
optionalline?:number
message
message:
string
Defined in: compiler/src/types.ts:221
Error message
name
name:
string
Defined in: compiler/src/types.ts:217
Error name/type
provenance?
optionalprovenance?:AgentProvenance[]
Defined in: compiler/src/types.ts:231
Agent provenance when resolution reports a name conflict