Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

PopError

When to pop error handlers off the stack.

Synopsis

[Miscellaneous]    PopError=n

Description

The value n may be 1 or 0:

  • When 1 (true) Caché pops the current error handler off the stack when an error is triggered.

  • When 0 (false) the normal behavior prevails: An error handler is popped when returning from the routine or procedure that established it.

Examples

PopError=0

Range of Values

0 or 1. The default is 0.

Management Portal

On the page System Administration > Configuration > Additional Settings > Compatibility, in the PopError row, select Edit. Choose true (selected) or false (cleared).

Feedback