Constructors

Synopses

Declared in <bdld_datumerror.h>

Create a DatumError object having the default error code of 0 and an empty error message.

Create a DatumError object having the specified error code value and and empty error message.

explicit
DatumError(int code);

Create a DatumError object having the specified error code value and the specified error message value. Note that the message is held by the reference and not copied.

DatumError(
    int code,
    bslstl::StringRef const& message);

Created with MrDocs