BloombergLP::bdld::DatumError::DatumError

Constructors

Synopses

Declared in <bdld_datumerror.h>

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

DatumError();
» more...

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

explicit
DatumError(int code);
» more...

Create a DatumError object having the specified code and message.

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

Parameters

NameDescription
codeerror code value
messageerror message held by reference (not copied)