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

The base exception that all exceptions in this library are built upon. More...

#include <exception.hpp>

Inheritance diagram for facade::exception::Exception:
facade::exception::AlreadyFiltered facade::exception::BadCRC facade::exception::BadPNGSignature facade::exception::ChunkNotFound facade::exception::ImageTooSmall facade::exception::InsufficientSize facade::exception::IntegerOverflow facade::exception::InvalidBase64Character facade::exception::InvalidBase64String facade::exception::InvalidBitDepth facade::exception::InvalidBitOffset facade::exception::InvalidChunkTag facade::exception::InvalidColorType facade::exception::InvalidFilterType facade::exception::InvalidIconHeader facade::exception::InvalidPixelType facade::exception::KeywordTooLong facade::exception::NoData facade::exception::NoHeaderChunk facade::exception::NoIconData facade::exception::NoImageData facade::exception::NoImageDataChunks facade::exception::NoKeyword facade::exception::NoPNGIcon facade::exception::NoPixels facade::exception::NoStegoData facade::exception::NoTrailingData facade::exception::NullPointer facade::exception::OpenFileFailure facade::exception::OutOfBounds facade::exception::PixelMismatch facade::exception::ScanlineMismatch facade::exception::TextNotFound facade::exception::UnsupportedPixelType facade::exception::ZLibError

Public Member Functions

 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::string error
 The resulting error string provided by the exception.
 

Detailed Description

The base exception that all exceptions in this library are built upon.

Constructor & Destructor Documentation

◆ Exception() [1/2]

facade::exception::Exception::Exception ( )
inline

◆ Exception() [2/2]

facade::exception::Exception::Exception ( const std::string &  error)
inline

Member Function Documentation

◆ what()

const char * facade::exception::Exception::what ( ) const
inlinenoexcept

Get a C-string representation of the error. Adds compatibility with std::exception.

Member Data Documentation

◆ error

std::string facade::exception::Exception::error

The resulting error string provided by the exception.


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