Represents an argument that is out of range for a container. More...
#include <Errors.hpp>
Additional Inherited Members | |
Public Member Functions inherited from pecunia::LogicError | |
| Error () noexcept | |
| Error (const Error &other) noexcept | |
| Constructs a copy of an existing instance. | |
| Error (const std::string &message, const std::exception &original) noexcept | |
| Constructs an Error object with a synthesised message combining the provided message, and the error message output of the supplied original exception. | |
| Error (Error &&other) noexcept | |
| Constructs an object by transferring ownership of resources from another object. | |
| Error (std::string message) noexcept | |
| Message constructor that initialises with a supplied message and captures the backtrace for diagnostic purposes. | |
Public Member Functions inherited from pecunia::Error | |
| Error () noexcept | |
| Error (const Error &other) noexcept | |
| Constructs a copy of an existing instance. | |
| Error (const std::string &message, const std::exception &original) noexcept | |
| Constructs an Error object with a synthesised message combining the provided message, and the error message output of the supplied original exception. | |
| Error (Error &&other) noexcept | |
| Constructs an object by transferring ownership of resources from another object. | |
| Error (std::string message) noexcept | |
| Message constructor that initialises with a supplied message and captures the backtrace for diagnostic purposes. | |
| ~Error () noexcept override | |
| Safely destroys the object, ensuring any allocated resources are properly freed. | |
| std::vector< std::string > | frameStack () const noexcept |
| Retrieves the stack frames associated with this instance. | |
| Error & | operator= (const Error &other) noexcept |
| Assigns the state of the given instance to this instance. | |
| Error & | operator= (Error &&other) noexcept |
| Assigns the given object to the current instance, transferring ownership of resources if any. | |
| const char * | what () const noexcept override |
| Retrieves the human-readable description of the error. It is commonly used for logging or display purposes. | |
Represents an argument that is out of range for a container.