Program Error Handling

This page is currently incomplete, but you can find information about this topic at the links below:

- catcherror( -- The catcherror( function evaluates an expression, but suppresses any error generated by that expression.
- divzeroerror( -- The divzeroerror( function divides two numbers, returns an error if the denominator is zero.
- Error Handling -- Techniques for trapping runtime errors instead of letting them abort the program.
- Error Wizard -- Advanced dialog for displaying program errors.
- error( -- The error( function returns an error with the specified message.
- errortext( -- The errortext( function evaluates an expression, but returns only the error message generated (if any).
- executecatcherrors -- The executecatcherrors statement is the same as the execute statement, except for the fact that if an error occurs while running, it can be trapped by an if error statement immediately following the executecatcherrors statement.
- info("error") -- The info("error") function returns the most recent error message.
- info("errorparameter") -- The info("errorparameter") function returns the parameter that caused a runtime error.
- info("errorstack") -- The info("errorstack") function returns the contents of the procedure stack after an error.
- info("errorstatement") -- The info("errorstatement") function returns the name of the statement that Panorama was trying to run at the time an error occurred.
- info("executeerrorsource") -- The info("executeerrorsource") function can be used in Error Handling code when an error occurs in code running via the execute statement or its siblings.
- nanerror( -- The nanerror( function converts invalid numeric values into an error.
- onerror -- The onerror statement can be used to catch all errors that are not trapped by if error or try statements.
- Program Error Handling -- handling errors and exceptions that occur when a program is running.
- returnerror -- The returnerror statement passes an error back to the current subroutines calling procedure.
- seterror -- The seterror statement changes the error message returned by info("error").
- throwerror -- The throwerror statement causes an immediate error.
- Web Error Pages -- customizing the server response when an error occurs.
- webformerrors( -- The webformerrors( function returns a list of errors that have been collected with the WebFormItemCheck statement.
- webformitemerror( -- The webformitemerror( function returns the error for a specific web form item, if any (used when processing a web query with Panorama Server).

History

Version | Status | Notes
10.0 | Updated | Carried over from Panorama 6.0, with some updates.