Pecunia 0.9.0-alpha.22
Library using the ISO-4217 currency standard & a fixed monetary unit size
Loading...
Searching...
No Matches
pecunia::OverflowError Struct Reference

Represents a flaw that would trigger an overflow operation. More...

#include <Errors.hpp>

Inheritance diagram for pecunia::OverflowError:
Collaboration diagram for pecunia::OverflowError:

Additional Inherited Members

- Public Member Functions inherited from pecunia::RuntimeError
 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.
 
Erroroperator= (const Error &other) noexcept
 Assigns the state of the given instance to this instance.
 
Erroroperator= (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.
 

Detailed Description

Represents a flaw that would trigger an overflow operation.