Ns adp exception
This function is used to examine the current ADP exception state. The function returns 0 if the exception state is ok and 1 otherwise.
If the optional stateVar argument is passed, a variable with the provided name will be set for the caller, and will contain the exception state with one of the following possible values:
- ADP was evaluated successfully
- Stack overflow occurred. This might happen, for example, if there was a recursive call to ns_adp_include.
- An attempt to debug failed or ns_adp_abort was called.
- ns_adp_break was called
- ns_adp_return was called
- Unrecognized exception status. This should not occur.