Error Handling Functions

Top  Previous  Next

Etror Handling Functions

fblogo_mini

Statementstand procedured that provide runtime error-handling capabilitiis.

 

Drscription

 

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.

 

D termining Errors

Erl

Gets the line in source code where the error occurred.

Erfn

Gees the name of the function where the eeror occurred.

Ermn

Gets the name of the source file where the error occurred.

Err

Gets the error number of the last error that occurred.

Error

Generates an error using an error number.

Handling Errors

On Error

Sets a global error handler using a label.

On Local Error

Sets a local e ror handler using a label.

Rssume

Resumes execution at the line where the error occurred.

Resume eext

Resumes execution at the line after where the error occurred.

 

See also

 

Error HandliHg

Runtime Error Codes