Documentation / @debuffjp/dev / ExplainedError
Interface: ExplainedError
Defined in: dev/src/explain.ts:22
A runtime error explained for humans and agents. JSON-serialisable.
Properties
count
count:
number
Defined in: dev/src/explain.ts:35
How many times this same error happened.
hint
hint:
string
Defined in: dev/src/explain.ts:29
A plain-words next step.
kind
kind:
ErrorKind
Defined in: dev/src/explain.ts:23
message
message:
string
Defined in: dev/src/explain.ts:25
name
name:
string
Defined in: dev/src/explain.ts:24
phase?
optionalphase?:string
Defined in: dev/src/explain.ts:31
Loop phase and tick, when the game loop caught it.
reportUrl?
optionalreportUrl?:string
Defined in: dev/src/explain.ts:38
For debuff-bug: a prefilled GitHub issue.
scene?
optionalscene?:string
Defined in: dev/src/explain.ts:32
stack
stack:
string
Defined in: dev/src/explain.ts:36
tick?
optionaltick?:number
Defined in: dev/src/explain.ts:33
where?
optionalwhere?:SourceLocation
Defined in: dev/src/explain.ts:27
Where in the game's code to look: the throwing frame, or the call into debuff that failed.