31 #ifndef PNGPP_ERROR_HPP_INCLUDED 32 #define PNGPP_ERROR_HPP_INCLUDED 47 :
public std::runtime_error
53 explicit error(std::string
const& message)
54 : std::runtime_error(message)
66 :
public std::runtime_error
78 : std::runtime_error((message +
": ") + strerror(
error))
85 #endif // PNGPP_ERROR_HPP_INCLUDED Exception class to represent standard library errors (generally IO).
Definition: error.hpp:65
std_error(std::string const &message, int error=errno)
Definition: error.hpp:77
error(std::string const &message)
Definition: error.hpp:53
Exception class to represent runtime errors related to png++ operation.
Definition: error.hpp:46