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

An exception thrown when the given filter type does not match the facade::png::FilterType enum. More...

#include <exception.hpp>

Inheritance diagram for facade::exception::InvalidFilterType:
facade::exception::Exception

Public Member Functions

 InvalidFilterType (std::uint8_t filter_type)
 
- 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::uint8_t filter_type
 The offending filter type value.
 
- 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 filter type does not match the facade::png::FilterType enum.

Constructor & Destructor Documentation

◆ InvalidFilterType()

facade::exception::InvalidFilterType::InvalidFilterType ( std::uint8_t  filter_type)
inline

Member Data Documentation

◆ filter_type

std::uint8_t facade::exception::InvalidFilterType::filter_type

The offending filter type value.


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