company logo

Suppressing errors

Errors may be suppressed by option variables or explicitly from within a program. In order to suppress errors by options, one may define options for each error type as.

  • SUPPRESS_SDBErrors=98,1-10

A list of error number intervals may be passed that contains single numbers or intervals of error numbers to be suppressed separated by comma. Error options are checked when starting an application and will be refreshed when opening a database, i.e. after activating database options (Application::initializeOptions()).

In order to suppress error logging completely, the option

  • SUPPRESS_ERRORS=YES

may be defined