Function: interrupt_exception

Syntax

interrupt_exception (<text>, <code> {,<severity>})

Type

exception

Returns

A new user exception with details of a user interrupt.

Parameters

Notes

There are 3 styles of exception: error, warning and interrupt. They behave identically and are differentiated only by style for user-analysis purposes.

The exception is initialized with a full command frame stack trace to aid with debugging.

Examples

Throw a user interrupt.

throw interrupt_exception('Download process was interrupted',101,4)

See Also

Commands:

exception, throw, try/catch

Functions:

error_exception, warning_exception

Identifiers:

throw_level (numeric)

Structures:

exception