Exceptions thrown by this library.
More...
#include <45d/Exceptions.hpp>
|
| Exception (const std::string &what, int err=0) noexcept |
| Construct a new Exception object. More...
|
|
const char * | what (void) const noexcept |
| Return string containing explanation message. More...
|
|
int | get_errno (void) const noexcept |
| Get the errno relating to the error, 0 if not set. More...
|
|
Exceptions thrown by this library.
◆ Exception()
ffd::Exception::Exception |
( |
const std::string & |
what, |
|
|
int |
err = 0 |
|
) |
| |
|
inlinenoexcept |
Construct a new Exception object.
- Parameters
-
what | String containing explanation message |
err | Optionally pass errno |
◆ get_errno()
int ffd::Exception::get_errno |
( |
void |
| ) |
const |
|
inlinenoexcept |
Get the errno relating to the error, 0 if not set.
- Returns
- int
◆ what()
const char* ffd::Exception::what |
( |
void |
| ) |
const |
|
inlinenoexcept |
Return string containing explanation message.
- Returns
- std::string
The documentation for this class was generated from the following file: