Gambas Documentation - /comp/gb/error

/comp/gb/error

# Error (gb)

Use this class for managing errors raised while the interpreter is running.

This class is static.

Static properties | Static methods
--- | ---
Returns a backtrace of the function call stack state when the last error occured. Backtrace Returns the class where the last error happened. Class Returns the last error code. Code Returns the last error message. Text Returns a string describing the location of the last error in the source code. Where | Resets the error code to zero and the error message to NULL. Clear Propagates the current error, i.e. raises it this time to the outer error handler. Propagate Raises a user-defined error. Raise

### See also

- Error Management