This commit is contained in:
NoryiE
2025-09-13 10:43:05 +00:00
parent 179949c8b7
commit 8e64ba97bf
46 changed files with 0 additions and 2949 deletions

View File

@@ -1,29 +0,0 @@
# 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)|-|
## errorHandler.error(errMsg)
Handles an error
### Parameters
* `errMsg` `string` The error message
### Usage
```lua
errorHandler.error("An error occurred")
```