-
Notifications
You must be signed in to change notification settings - Fork 1
__Error__
Hyomoto edited this page Jun 24, 2021
·
4 revisions
Jump To | Go Back |
Methods | Variables |
---|
Implements: Struct
Error is an inheritable type for building Errors. It provides a convenient point of entry and formatting for GML errors and is used by all errors thrown by FAST.
Jump To | top |
from_error | from_string | conc | toString |
---|
Name | Type | Purpose |
---|---|---|
error | struct |
A previously generated error |
Can be used to inject one error into another. This is to allow injecting GMS-thrown exceptions into FAST's error handling.
Name | Type | Purpose |
---|---|---|
error | struct |
A previously generated error |
Can be used to create a generic error from a string. This is to allow injecting GMS-thrown one-off errors into FAST's error handling.
Name | Type | Purpose |
---|---|---|
values... | mixed |
No description |
Concantates the provided values into a message string.
Name | Type | Purpose |
---|---|---|
None |
Returns the error message formatted for the unhandled exception handler.
Jump To | top |
---|
Name | Type | Initial | Purpose |
---|---|---|---|
Width | int |
92 | Determines where line breaks should be inserted into error messages |
message | string |
"" | A short, descriptive error message that will be displayed to the user |
longMessage | string |
"" | Unused, a full more descriptive error message |
stacktrace | array |
[] | The stack trace that caused the error |
script | string |
"" | The script that caused the error |
Devon Mullane 2020