Skip to main content

Offerror

OffError (Statement)​

Format​

offerror

Description​

Removes the last error trap defined with the OnError statement. If all of the traps have been removed then error trapping is restored to the default behavior.

You may not execute an OffError statement inside a Try / Catch / End Try statement.

Example​

See examples of usage on OnError and ThrowError pages.

See Also​

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

History​

0.9.6zNew To Version