Skip to content

Documentation / @debuffjp/dev / explainError

Function: explainError() ​

explainError(error, context?, origin?): ExplainedError

Defined in: dev/src/explain.ts:53

Explain an error from its stack: whose code threw, where to look, and what to try. Heuristic but conservative: when unsure it says so instead of guessing.

Parameters ​

error ​

unknown

context? ​

phase? ​

string

scene? ​

string

tick? ​

number

origin? ​

string = ...

Returns ​

ExplainedError