RICOH Camera USB SDK for C++  1.1.0
RICOH Camera USB SDK for C++
Public Member Functions | List of all members
Ricoh::CameraController::Error Class Reference

This class represents a error of a request to a camera device. More...

#include <ricoh_camera_sdk/error.hpp>

Public Member Functions

 Error (ErrorCode code, const std::string &message)
 Constructs with the specified error. More...
 
 ~Error ()=default
 
ErrorCode getCode () const
 Returns the code of the error. More...
 
const std::string & getMessage () const
 Returns the detail message of the error. More...
 

Detailed Description

This class represents a error of a request to a camera device.

Constructor & Destructor Documentation

Ricoh::CameraController::Error::Error ( ErrorCode  code,
const std::string &  message 
)

Constructs with the specified error.

Parameters
codeThe code of the error
messageThe detail message of the error
Ricoh::CameraController::Error::~Error ( )
default

Member Function Documentation

ErrorCode Ricoh::CameraController::Error::getCode ( ) const

Returns the code of the error.

Returns
The code of the error
const std::string& Ricoh::CameraController::Error::getMessage ( ) const

Returns the detail message of the error.

Returns
The detail message of the error

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