gphoto2pp
A C++ Wrapper for libgphoto2
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
gphoto2pp::exceptions::gphoto2_exception Class Reference

#include <exceptions.hpp>

Inheritance diagram for gphoto2pp::exceptions::gphoto2_exception:
Collaboration diagram for gphoto2pp::exceptions::gphoto2_exception:

Public Member Functions

 gphoto2_exception (int result, std::string &&gp_result_string)
int getResultCode () const
 The error code received from the gphoto2 method.
- Public Member Functions inherited from gphoto2pp::exceptions::GPhoto2ppException
 GPhoto2ppException (std::string &&message)

Detailed Description

Represents any error received from a gphoto2 method call with a value < 0

Constructor & Destructor Documentation

gphoto2pp::exceptions::gphoto2_exception::gphoto2_exception ( int  result,
std::string &&  gp_result_string 
)
inline

Member Function Documentation

int gphoto2pp::exceptions::gphoto2_exception::getResultCode ( ) const
inline

The error code received from the gphoto2 method.


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