Error Functions

Alpha Five provides the following Error functions.

Method

 

Description

"Maximum Stack Depth Exceeded" Error Message

NM

Description of the "Maximum Stack Depth Exceeded" error message and how to handle this error.

A5_REPORTERRORTOUSER()

V6

Displays an error message for a function on an A5W page.

ERROR_CODE_GET()

V5

Returns the error number of the most recent run-time error.

ERROR_GENERATE()

V5

Enables an error handling routine, specifying the label marking that routine’s location within a script.

ERROR_LINE_NUMBER_GET()

V5

Causes an error to occur and displays the Error description as the error text.

ERROR_REPORTING()

V5

Enables error reporting in Xbasic scripts as they occur.

ERROR_SCRIPT_GET()

V5

Returns the script name of the script in which the error occurred.

ERROR_TEXT_GET()

V5

Returns the Error Text message associated with a run-time Error Number.

ON ERROR

V5

Specifies how to handle an error.

RESUME

V5

Used at the end of an error-handling routine to resume program execution. There is additional functionality in V6.

UI_HTML_MSG_BOX()

V6

Use for reporting errors from background threads or from A5W pages.

See Also

Handling Errors