#include <bslstl_systemerror.h>
This class represents exceptions that have an associated error code.
See bslstl_systemerror
◆ system_error() [1/6]
| bsl::system_error::system_error |
( |
error_code |
code, |
|
|
const std::string & |
what |
|
) |
| |
|
inline |
Create an object of this type holding the specified code. Optionally specify a string what to be added to the description of this object.
◆ system_error() [2/6]
| bsl::system_error::system_error |
( |
error_code |
code, |
|
|
const char * |
what |
|
) |
| |
|
inline |
◆ system_error() [3/6]
| bsl::system_error::system_error |
( |
error_code |
code | ) |
|
|
inline |
◆ system_error() [4/6]
| bsl::system_error::system_error |
( |
int |
value, |
|
|
const error_category & |
category, |
|
|
const std::string & |
what |
|
) |
| |
|
inline |
Create an object of this type holding an error code holding the specified value and category. Optionally specify a string what to be added to the description of this object.
◆ system_error() [5/6]
| bsl::system_error::system_error |
( |
int |
value, |
|
|
const error_category & |
category, |
|
|
const char * |
what |
|
) |
| |
|
inline |
◆ system_error() [6/6]
| bsl::system_error::system_error |
( |
int |
value, |
|
|
const error_category & |
category |
|
) |
| |
|
inline |
◆ code()
| const error_code & bsl::system_error::code |
( |
| ) |
const |
|
inline |
Return a const reference to the error code held by this object.
The documentation for this class was generated from the following file: