IDLive Face C++ API 1.46.0
|
Result status info. Contains the same info as FaceException. More...
#include <facesdk/Common.h>
Public Member Functions | |
StatusInfo (const facesdk::FaceException &e) | |
StatusInfo (std::string message, facesdk::FaceException::STATUS code) | |
bool | ok () const |
Checks if status is OK. | |
Public Attributes | |
std::string | message |
Status message. | |
facesdk::FaceException::STATUS | code = facesdk::FaceException::STATUS::OK |
Status code. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const StatusInfo &status) |
Result status info. Contains the same info as FaceException.
|
inline |
Checks if status is OK.