Minor error numbersΒΆ

SS_MINOR is a collection of related C preprocessor symbols defined in sserr.h.

Synopsis:

SS_MINOR_ASSERT: assertion failed

SS_MINOR_CONS: constructor failed

SS_MINOR_CORRUPT: file file corruption

SS_MINOR_DOMAIN: value outside valid domain

SS_MINOR_EXISTS: already exists

SS_MINOR_FAILED: a catch-all

SS_MINOR_HDF5: HDF5 call failed

SS_MINOR_INIT: not initialized

SS_MINOR_MPI: MPI call failed

SS_MINOR_NOTFOUND: not found

SS_MINOR_NOTIMP: not implemented

SS_MINOR_NOTOPEN: not open

SS_MINOR_OVERFLOW: arithmetic or buffer overflow

SS_MINOR_PERM: not permitted

SS_MINOR_RESOURCE: insufficient resources

SS_MINOR_SKIPPED: operation skipped by request

SS_MINOR_TYPE: bad datatype

SS_MINOR_USAGE: incorrect usage

Issues: These C preprocessor symbols would normally just be defined as the corresponding global variable, however error class numbers are generated at runtime with HDF5 calls and thus they must be initialized as a side effect of referencing them. The initialization is done by calling ss_err_init1 and passing the address of the global minor error class variable. That function does the initialization and then returns the contents of that global variable.

See Also: