Error Handling Functions
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=CatPgError
- Last revised: 2016-02-10
Statements and procedures that provide runtime error-handling capabilities.
Description
These statements and procedures provide ways of dealing with runtime errors. Specific modules, procedures and source code lines can be retrieved, and error handlers can be set up.
Determining Errors Procedures that retrieve information about an error.
Handling Errors Statements that allow handling of errors.
Determining Errors
Gets the line in source code where the error occurred.
Gets the name of the function where the error occurred.
Gets the name of the source file where the error occurred.
Gets the error number of the last error that occurred.
Generates an error using an error number.
Handling Errors
Sets a global error handler using a label.
Sets a local error handler using a label.
Resumes execution at the line where the error occurred.
Resumes execution at the line after where the error occurred.
See also
Back to DocToc