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

Name

Description

code

error code value

message

error message held by reference (not copied)

Created with MrDocs