Files
Basalt2/docs/references/errorManager.md
Robert Jelic 9e1112f3bd docs fix
2025-09-13 12:54:15 +02:00

540 B

ErrorHandler

This is Basalt's error handler. All the errors are handled by this module.

Fields

Field Type Description
tracebackEnabled boolean If the error handler should print a stack trace
header string The header of the error message

Functions

Method Returns Description
errorHandler.error -

errorHandler.error(errMsg)

Handles an error

Parameters

  • errMsg string The error message

Usage

errorHandler.error("An error occurred")