SDK
2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
Error.h
1
#ifndef CBE__delegate__Error_h__
2
#define CBE__delegate__Error_h__
3
4
#include "cbe/Types.h"
5
#include <string>
6
7
namespace
cbe
8
{
9
namespace
delegate
10
{
14
class
Error
{
15
public
:
21
ErrorCode
errorCode
{};
25
std::string
reason
{};
29
std::string
message
{};
30
36
explicit
operator
bool()
const
;
37
39
Error
();
40
41
Error
(
ErrorCode
errorCode
,
42
std::string&&
reason
,
43
std::string&&
message
);
45
49
friend
std::ostream&
operator<<
(std::ostream& os,
const
Error
& error);
50
};
// class LogInDelegate::Error
51
}
52
}
53
#endif
cbe::delegate::Error
Definition:
Error.h:14
cbe::delegate::Error::reason
std::string reason
Definition:
Error.h:25
cbe::delegate::Error::errorCode
ErrorCode errorCode
Definition:
Error.h:21
cbe::delegate::Error::operator<<
friend std::ostream & operator<<(std::ostream &os, const Error &error)
cbe::delegate::Error::message
std::string message
Definition:
Error.h:29
cbe
Root namespace for the CloudBackend SDK API.
Definition:
Account.h:22
cbe::ErrorCode
std::uint32_t ErrorCode
Mimics the general error code encoding in the www.
Definition:
Types.h:142
include
cbe
delegate
Error.h
Generated by
1.9.1