ns_adp_exception

Return ADP exception state.

Syntax

ns_adp_exception state

Description

This function returns the current ADP exception state. Possible values are: ok: ADP was evaluated successfully
overflow: Stack overflow occurred. This might happen, for example, if there was a recursive call to ns_adp_include.
abort: An attempt to debug failed or ns_adp_abort was called.
break: ns_adp_break was called
unknown: Unrecognized exception status. This should not occur.

This function returns 1 if the status is "ok" and 0 otherwise. If the optional state argument is passed, it will be set with the actual state.