Skip to content

error

Types

ErrorModule

FieldTypeDescription
handlerfun(msg: string)|nilCustom error handler function (optional)

Methods

Error.report(msg, trace)

Report an error through the configured handler or show panic screen.

  • msg (any)

  • trace (string, optional)

  • returns (nil)

Last updated:

Released under the MIT License.