31#ifndef PNGPP_ERROR_HPP_INCLUDED
32#define PNGPP_ERROR_HPP_INCLUDED
35#ifdef __STDC_LIB_EXT1__
36#define __STDC_WANT_LIB_EXT1__ 1
39#define HAVE_STRERROR_S 1
58 :
public std::runtime_error
77 :
public std::runtime_error
96#define ERRBUF_SIZE 512
101 return std::string(
buf);
103#if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE) || (!__GLIBC__)
105 return std::string(
buf);
Exception class to represent runtime errors related to png++ operation.
Definition error.hpp:59
error(std::string const &message)
Definition error.hpp:64
The PNG reader class template. This is the low-level reading interface–use image class or consumer cl...
Definition reader.hpp:67
Exception class to represent standard library errors (generally IO).
Definition error.hpp:78
static std::string thread_safe_strerror(int errnum)
Definition error.hpp:94
std_error(std::string const &message, int errnum=errno)
Definition error.hpp:88