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

An exception thrown when the chunk is not found in the PNG data. More...

#include <exception.hpp>

Inheritance diagram for facade::exception::ChunkNotFound:
facade::exception::Exception

Public Member Functions

 ChunkNotFound (std::string tag)
 
- 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::string tag
 The chunk tag which could not be found.
 
- 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 chunk is not found in the PNG data.

Constructor & Destructor Documentation

◆ ChunkNotFound()

facade::exception::ChunkNotFound::ChunkNotFound ( std::string  tag)
inline

Member Data Documentation

◆ tag

std::string facade::exception::ChunkNotFound::tag

The chunk tag which could not be found.


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