![]() |
libfacade 1.1
A library for manipulating PNG images with payloads.
|
An exception thrown when there was not enough data to complete the operation. More...
#include <exception.hpp>
Public Member Functions | |
| InsufficientSize (std::size_t given, std::size_t minimum) | |
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 size. | |
| std::size_t | minimum |
| The minimum size needed to complete the operation. | |
Public Attributes inherited from facade::exception::Exception | |
| std::string | error |
| The resulting error string provided by the exception. | |
An exception thrown when there was not enough data to complete the operation.
|
inline |
| std::size_t facade::exception::InsufficientSize::given |
The offending size.
| std::size_t facade::exception::InsufficientSize::minimum |
The minimum size needed to complete the operation.