RICOH Camera USB SDK for C++
1.1.0
RICOH Camera USB SDK for C++
|
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... | |
This class represents a error of a request to a camera device.
Ricoh::CameraController::Error::Error | ( | ErrorCode | code, |
const std::string & | message | ||
) |
Constructs with the specified error.
code | The code of the error |
message | The detail message of the error |
|
default |
ErrorCode Ricoh::CameraController::Error::getCode | ( | ) | const |
Returns the code of the error.
const std::string& Ricoh::CameraController::Error::getMessage | ( | ) | const |
Returns the detail message of the error.