libfacade 1.1
A library for manipulating PNG images with payloads.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
facade::exception::OutOfBounds Class Reference

An exception thrown when the operation goes out of bounds. More...

#include <exception.hpp>

Inheritance diagram for facade::exception::OutOfBounds:
facade::exception::Exception

Public Member Functions

 OutOfBounds (std::size_t given, std::size_t boundary)
 
- Public Member Functions inherited from facade::exception::Exception
 Exception ()
 
 Exception (const std::string &error)
 
const char * what () const noexcept
 Get a C-string representation of the error. Adds compatibility with std::exception.
 

Public Attributes

std::size_t given
 The offending boundary.
 
std::size_t boundary
 The boundary the offense broke.
 
- Public Attributes inherited from facade::exception::Exception
std::string error
 The resulting error string provided by the exception.
 

Detailed Description

An exception thrown when the operation goes out of bounds.

Constructor & Destructor Documentation

◆ OutOfBounds()

facade::exception::OutOfBounds::OutOfBounds ( std::size_t  given,
std::size_t  boundary 
)
inline

Member Data Documentation

◆ boundary

std::size_t facade::exception::OutOfBounds::boundary

The boundary the offense broke.

◆ given

std::size_t facade::exception::OutOfBounds::given

The offending boundary.


The documentation for this class was generated from the following file: