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