This class extends the native Error class to work with the engine.
Error
It also dispatches a custom event named ineka:error on the engine container element to make it easier to display errors or create debugging tools.
ineka:error
The syntax for all custom events dispatched by Ineka uses the prefix ineka: to prevent collisions with any other library.
ineka:
Optional
Protected
Custom code for the error.
Engine that is throwing the error.
Static
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Create .stack property on a target object
This class extends the native
Error
class to work with the engine.It also dispatches a custom event named
ineka:error
on the engine container element to make it easier to display errors or create debugging tools.The syntax for all custom events dispatched by Ineka uses the prefix
ineka:
to prevent collisions with any other library.