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

An exception thrown when encountering a ZLib error. More...

#include <exception.hpp>

Inheritance diagram for facade::exception::ZLibError:
facade::exception::Exception

Public Member Functions

 ZLibError (int code)
 
- 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

int code
 The code returned by zlib.
 
- Public Attributes inherited from facade::exception::Exception
std::string error
 The resulting error string provided by the exception.
 

Detailed Description

An exception thrown when encountering a ZLib error.

Constructor & Destructor Documentation

◆ ZLibError()

facade::exception::ZLibError::ZLibError ( int  code)
inline

Member Data Documentation

◆ code

int facade::exception::ZLibError::code

The code returned by zlib.

See also
ZLib documentation for error code meanings.

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