SDK  2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
cbe::delegate::Error Class Reference

#include <Error.h>

Inheritance diagram for cbe::delegate::Error:

Public Member Functions

 operator bool () const
 

Public Attributes

ErrorCode errorCode {}
 
std::string reason {}
 
std::string message {}
 

Friends

std::ostream & operator<< (std::ostream &os, const Error &error)
 

Detailed Description

Entity class containing the error information

Member Function Documentation

◆ operator bool()

cbe::delegate::Error::operator bool ( ) const
explicit

Checks whether current object holds error information.

Returns
true implies that current object contains an error,l while false indicates no error.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Error error 
)
friend

Output stream operator for CloudBackend::LogInDelegate::Error.

Member Data Documentation

◆ errorCode

ErrorCode cbe::delegate::Error::errorCode {}

Mimics the general error code encoding in the www.

See also
Wikipedia: List of HTTP status codes

◆ message

std::string cbe::delegate::Error::message {}

Human readable additional information about the error.

◆ reason

std::string cbe::delegate::Error::reason {}

Human readable description of the reason for the failure.


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