|
Cbeam
|
A Cbeam-specific runtime error that also acts like std::runtime_error. More...
#include <runtime_error.hpp>


Public Member Functions | |
| runtime_error (const std::string &what_arg) | |
| Constructs a runtime_error with the specified message. | |
| ~runtime_error () override=default | |
| Virtual destructor. | |
| const char * | what () const noexcept override |
| Returns the descriptive string of this error. | |
Public Member Functions inherited from cbeam::error::base_error | |
| base_error ()=default | |
| Default constructor. | |
| ~base_error () override=default | |
| Virtual destructor. | |
| const char * | what () const noexcept override |
| Returns a generic explanatory string for all Cbeam base errors. | |
A Cbeam-specific runtime error that also acts like std::runtime_error.
This class inherits from cbeam::error::base_error and std::runtime_error via virtual inheritance. Catching cbeam::error::base_error will also catch this type, and catching std::runtime_error will catch it as well.
|
inlineexplicit |
Constructs a runtime_error with the specified message.
| what_arg | The error message describing the condition. |
|
overridedefault |
Virtual destructor.
|
inlineoverridenoexcept |
Returns the descriptive string of this error.
Internally uses std::runtime_error::what().