#include <exception.hpp>
Definition at line 48 of file exception.hpp.
◆ Exception() [1/2]
| rav::Exception::Exception |
( |
const char * | msg, |
|
|
const char * | file = nullptr, |
|
|
const int | line = -1, |
|
|
const char * | function_name = nullptr ) |
|
inlineexplicit |
◆ Exception() [2/2]
| rav::Exception::Exception |
( |
std::string | msg, |
|
|
const char * | file = nullptr, |
|
|
const int | line = -1, |
|
|
const char * | function_name = nullptr ) |
|
inlineexplicit |
◆ file()
| const char * rav::Exception::file |
( |
| ) |
const |
|
inlinenodiscard |
- Returns
- The file where the error occurred.
Definition at line 66 of file exception.hpp.
◆ function_name()
| const char * rav::Exception::function_name |
( |
| ) |
const |
|
inlinenodiscard |
- Returns
- The name of the function where the error occurred.
Definition at line 80 of file exception.hpp.
◆ line()
| int rav::Exception::line |
( |
| ) |
const |
|
inlinenodiscard |
- Returns
- The line number where the error occurred.
Definition at line 73 of file exception.hpp.
◆ what()
| const char * rav::Exception::what |
( |
| ) |
const |
|
inlinenodiscardoverridenoexcept |
- Returns
- The error message associated with the error code.
Definition at line 59 of file exception.hpp.
The documentation for this class was generated from the following file: