![]() |
LibCarna Version 3.4.0
|
Carna exception that indicates a failed assertion. More...
#include <LibCarnaException.hpp>
Inheritance diagram for LibCarna::base::AssertionFailure:
Collaboration diagram for LibCarna::base::AssertionFailure:Public Member Functions | |
| AssertionFailure (const std::string &details) | |
| Instantiates. | |
Public Member Functions inherited from LibCarna::base::LibCarnaException | |
| LibCarnaException (const std::string &type, const std::string &message, const std::string &details="") | |
| Initializes the attributes plainly from the arguments. | |
| LibCarnaException (const std::logic_error &error, const std::string &details="") | |
| Initializes the type as ''Assertion Error'' and the message from the given exception. | |
| LibCarnaException (const std::runtime_error &error, const std::string &details="") | |
| Initializes the type as ''Unhandled Exception'' and the message from the given exception. | |
| LibCarnaException (const LibCarnaException &other) | |
| Instantiates as a copy of the other exception. | |
| const char * | what () const |
| Tells the message and the details of this exception. | |
Additional Inherited Members | |
Public Attributes inherited from LibCarna::base::LibCarnaException | |
| const std::string | type |
| Tells the type (category) of this exception. | |
| const std::string | message |
| Tells the message of this exception. | |
| const std::string | details |
| Tells the details of this exception. May be empty. | |
Carna exception that indicates a failed assertion.
Definition at line 105 of file LibCarnaException.hpp.
|
explicit |
Instantiates.
| details | describes the failed assertion. |
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen