GutTrackedError
Inherits: RefCounted
This contains all the information provided by Godot about an error. This is also used to represent a GUT error. See Logger for additional information about properties. Some properties are not populated for GUT errors.
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
contains_text(text) |
|
to_s() |
Property Descriptions
This will be an Array[ScriptBacktrace] for engine/push errors. This will the result of get_stack for GUT errors.
Usually the description
No description
Logger.ErrorType value or, for GUT errors, this will be GutUtils.GUT_ERROR_TYPE.
Variant editor_notify = false 🔗
No description
The full path to the file where the error occurred.
The function name in file where the error occurred.
The line number in file
Used by GUT to flag errors as being handled. This is set by various asserts or can be set in a test. When set to true GUT will ignore it when determining if an unexpected error occurred during the execution of the test. Setting this value prior to performing any of the error related asserts may have unexpected results. It is recommended you either set this manually or use the error asserts.
Method Descriptions
_to_string that is not _to_string.
Returns true if the error is a push_error.
Returns true if the error is an engine error. This includes all errors that pass through the Logger that do not originate from the push_error function.
No description
Returns true if the error is a GUT error. Some fields may not be populated for GUT errors.
No description
Variant get_error_type_name() 🔗
For display purposes only, the actual value returned may change over time. This returns a name for the error_type as far as this class is concerned. Use the various is_ methods to check if an error is a certain type.