Skip to main content

Module error

Module error 

Source
Expand description

Contains all possible errors that may occur during script or plugin methods execution.

Structs§

GameError
An error that may occur during game code execution.

Enums§

GameErrorKind
All possible errors that may occur during script or plugin methods execution.

Functions§

enable_backtrace_capture
Enables or disables backtrace capture when an error occurs. Backtrace capture is an expensive operation, so it is disabled by default.
is_capturing_backtrace
Returns true when the backtrace capture is one, false - otherwise.

Type Aliases§

GameResult
An alias for Result that has () as Ok value, and GameError as error value.
UserError
An arbitrary, user-defined, boxed error type.