Skip to main content

OffError

OffError (Statement)​

Format​

offerror

Description​

Removes the last error trap defined with the OnError statement. Error traps are kept in a stack: if an earlier trap is still defined, it becomes the active one again. If all of the traps have been removed then error trapping is restored to the default behavior, and an error stops the program.

Example​

See examples of usage on OnError and ThrowError pages.

See Also​

Error Codes, Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Offerror, Onerror, ThrowError, Try / Catch / EndTry

History​

0.9.6zNew To Version