createError overloads
Declared in <bdld_datum.h>
Return a datum holding an error with the specified code.
static
Datum
createError(int code);
» more...
Return a datum holding an error with code and message.
static
Datum
createError(
int code,
bslstl::StringRef const& message,
AllocatorType const& allocator);
» more...
codecode and message| Name | Description |
|---|---|
| code | error code |
| message | optional error message |
| allocator | memory allocator to use |