Replaces std::exception. Also contains a stacktrace of where the exception was thrown.
More...
#include <Exception.hpp>
|
| | Exception (const std::string &err) |
| | Exception ()=default |
| | Exception (Exception &)=default |
| | Exception (Exception &&)=default |
| virtual std::string | What () const |
| | Same as std::exception::what(), but returns a std::string instead of const char*.
|
| const char * | what () const override |
| | Returns a C-style string describing the general cause of the current error.
|
| const std::stacktrace & | GetStacktrace () const noexcept |
| | Gets the stacktrace of where the exception was thrown.
|
| | ~Exception () override=default |
Replaces std::exception. Also contains a stacktrace of where the exception was thrown.
◆ Exception() [1/4]
| Engine3DRadSpace.Logging::Exception::Exception |
( |
const std::string & | err | ) |
|
|
explicit |
◆ Exception() [2/4]
| Engine3DRadSpace.Logging::Exception::Exception |
( |
| ) |
|
|
default |
◆ Exception() [3/4]
| Engine3DRadSpace.Logging::Exception::Exception |
( |
Exception & | | ) |
|
|
default |
◆ Exception() [4/4]
| Engine3DRadSpace.Logging::Exception::Exception |
( |
Exception && | | ) |
|
|
default |
◆ ~Exception()
| Engine3DRadSpace.Logging::Exception::~Exception |
( |
| ) |
|
|
overridedefault |
◆ GetStacktrace()
| const std::stacktrace & Engine3DRadSpace.Logging::Exception::GetStacktrace |
( |
| ) |
const |
|
noexcept |
Gets the stacktrace of where the exception was thrown.
- Returns
- Stacktrace of where the exception was thrown
◆ What()
| std::string Engine3DRadSpace.Logging::Exception::What |
( |
| ) |
const |
|
virtual |
Same as std::exception::what(), but returns a std::string instead of const char*.
- Returns
◆ what()
| const char * Engine3DRadSpace.Logging::Exception::what |
( |
| ) |
const |
|
override |
Returns a C-style string describing the general cause of the current error.
- Returns
- C-style string describing the general cause of the current error
◆ _stacktrace
| std::stacktrace Engine3DRadSpace.Logging::Exception::_stacktrace |
|
protected |
◆ _str
| std::string Engine3DRadSpace.Logging::Exception::_str |
|
protected |
The documentation for this class was generated from the following files: