38 #include <vips/vips.h>
46 class VIPS_CPLUSPLUS_API
VError :
public std::exception {
53 VError(
const std::string &what ) : _what( what ) {}
59 VError() : _what( vips_error_buffer() ) {}
61 virtual ~
VError() throw() {}
66 virtual const char *
what()
const throw() {
return _what.c_str(); }
71 void ostream_print( std::ostream & )
const;
VError(const std::string &what)
Definition: VError8.h:53
VError()
Definition: VError8.h:59
virtual const char * what() const
Definition: VError8.h:66