Skip to content

ErrorHandler

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

Functions

MethodReturnsDescription
ErrorHandler.error-Handles an error

ErrorHandler.error(errMsg)

Handles an error

Parameters

  • errMsg string The error message

Usage

lua
errorHandler.error("An error occurred")
errorHandler.error("An error occurred")

Released under the MIT License.