BloombergLP::bdld::DatumError::DatumError

Create a DatumError object having the specified code and message.

Synopsis

Declared in <bdld_datumerror.h>

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

Description

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.

Parameters

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