The dpp::exception class derives from std::exception and supports some other ways of passing in error details such as via std::string.
More...
#include <exception.h>
The dpp::exception class derives from std::exception and supports some other ways of passing in error details such as via std::string.
◆ exception() [1/7]
dpp::exception::exception |
( |
| ) |
|
|
default |
Construct a new exception object.
◆ exception() [2/7]
dpp::exception::exception |
( |
const char * |
what | ) |
|
|
inlineexplicit |
Construct a new exception object.
- Parameters
-
◆ exception() [3/7]
dpp::exception::exception |
( |
const char * |
what, |
|
|
size_t |
len |
|
) |
| |
|
inline |
Construct a new exception object.
- Parameters
-
what | reason message |
len | length of reason message |
◆ exception() [4/7]
dpp::exception::exception |
( |
const std::string & |
what | ) |
|
|
inlineexplicit |
Construct a new exception object.
- Parameters
-
◆ exception() [5/7]
dpp::exception::exception |
( |
std::string && |
what | ) |
|
|
inlineexplicit |
Construct a new exception object.
- Parameters
-
◆ exception() [6/7]
dpp::exception::exception |
( |
const exception & |
| ) |
|
|
default |
Construct a new exception object (copy constructor)
◆ exception() [7/7]
Construct a new exception object (move constructor)
◆ ~exception()
dpp::exception::~exception |
( |
| ) |
|
|
overridedefault |
Destroy the exception object.
◆ what()
const char * dpp::exception::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Get exception message.
- Returns
- const char* error message
◆ msg
std::string dpp::exception::msg |
|
protected |