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::InvalidBitOffset Class Reference

An exception thrown when the given bit offset is not a multiple of 4. More...

#include <exception.hpp>

Inheritance diagram for facade::exception::InvalidBitOffset:
facade::exception::Exception

Public Member Functions

 InvalidBitOffset (std::size_t offset)
 
- 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 offset
 The offending offset.
 
- 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 given bit offset is not a multiple of 4.

Constructor & Destructor Documentation

◆ InvalidBitOffset()

facade::exception::InvalidBitOffset::InvalidBitOffset ( std::size_t  offset)
inline

Member Data Documentation

◆ offset

std::size_t facade::exception::InvalidBitOffset::offset

The offending offset.


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