Tcl API Reference -- ns_adp_exception

### ns_adp_exception

#### Overview

Return ADP exception state

#### Syntax

ns_adp_exception state

#### Description

This function returns the current ADP exception state. Possible values are:

State | Description
--- | ---
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; 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.

Top of Page
Copyright © 1998-99 America Online, Inc.