![]() | InDesign SDK 20.5 |
#include <ErrorUtils.h>
Public Member Functions | |
| void | DoNotRestoreErrorState () |
Stack-based object used for preserving the error code across a scope. The constructor saves the current error state, and the destructor restores the error state back to the saved state.
| void GlobalErrorStatePreserver::DoNotRestoreErrorState | ( | ) |
Call this to prevent the preserver from restoring the previous error state in its destructor