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 code and message.

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

Parameters

Name

Description

code

error code value

message

error message held by reference (not copied)

Created with MrDocs