vips-cpp 8.17
libvips C++ binding
 
Loading...
Searching...
No Matches
VError Class Reference

#include <VError8.h>

Inheritance diagram for VError:
[legend]
Collaboration diagram for VError:
[legend]

Public Member Functions

 VError (const std::string &what)
 
 VError ()
 
virtual const char * what () const throw ()
 
void ostream_print (std::ostream &) const
 

Detailed Description

The libvips error class. It holds a single string containing an internationalized error message in utf-8 encoding.

Constructor & Destructor Documentation

◆ VError() [1/2]

VError::VError ( const std::string & what)
inline

Construct a VError, setting the error message.

◆ VError() [2/2]

VError::VError ( )
inline

Construct a VError, fetching the error message from the libvips error buffer.

Member Function Documentation

◆ ostream_print()

void VError::ostream_print ( std::ostream & file) const

Print the error message to a stream.

◆ what()

virtual const char * VError::what ( ) const
throw ( )
inlinevirtual

Get a reference to the underlying C string.


The documentation for this class was generated from the following files: