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