Base exception class.
More...
|
| | Exception (int id) |
| | Constructor, sets error id.
|
| int | id () const |
| | Get error id.
|
| char const * | what () const noexcept override |
| | Get descriptive string about this error.
|
◆ Exception()
| gem::error::Exception::Exception |
( |
int | id | ) |
|
|
inline |
Constructor, sets error id.
- Parameters
-
◆ id()
| int gem::error::Exception::id |
( |
| ) |
const |
|
inline |
Get error id.
- Returns
- Error id.
◆ what()
| char const * gem::error::Exception::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Get descriptive string about this error.
- Returns
- Error description.