![]() |
libfacade 1.1
A library for manipulating PNG images with payloads.
|
An exception thrown when the CRC didn't match expectations. More...
#include <exception.hpp>
Public Member Functions | |
| BadCRC (std::uint32_t given, std::uint32_t expected) | |
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::uint32_t | given |
| The bad CRC. | |
| std::uint32_t | expected |
| The expected CRC. | |
Public Attributes inherited from facade::exception::Exception | |
| std::string | error |
| The resulting error string provided by the exception. | |
An exception thrown when the CRC didn't match expectations.
|
inline |
| std::uint32_t facade::exception::BadCRC::expected |
The expected CRC.
| std::uint32_t facade::exception::BadCRC::given |
The bad CRC.