libwreport
3.29
|
Base class for DB-All.e exceptions. More...
#include <error.h>
Public Member Functions | |
virtual ErrorCode | code () const noexcept=0 |
Exception-specific error code. More... | |
virtual const char * | what () const noexcept=0 |
Error message. | |
Static Public Member Functions | |
static const char * | strerror (ErrorCode code) |
String description for an error code. | |
Base class for DB-All.e exceptions.
|
pure virtualnoexcept |
Exception-specific error code.
This is useful to map C++ exceptions to C or Fortran error codes
Implemented in wreport::errors::StringBase< ERROR_CODE >, and wreport::error_alloc.