SDK  2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
TransferError.h
1 #ifndef CBE__delegate__TransferError_h__
2 #define CBE__delegate__TransferError_h__
3 
4 #include "cbe/Types.h"
5 
6 #include "cbe/delegate/Error.h"
7 
8 #include <iosfwd>
9 
10 namespace cbe {
11  namespace delegate {
12 
13 using Error = delegate::Error;
18 class TransferError : public Error {
19 public:
20  std::string name{};
21  cbe::ObjectId objectId{};
22  cbe::ContainerId parentId{};
23  TransferError();
24  TransferError(Error&& error,
25  std::string name,
26  cbe::ObjectId objectId,
27  cbe::ContainerId parentId);
28 
29  friend std::ostream& operator<<(std::ostream& os,
30  const TransferError& transferError);
31 }; // class TransferError
32 
33  } // namespace delegate
34 } // namespace cbe
35 
36 #endif // #ifndef CBE__delegate__TransferError_h__
Definition: Error.h:14
Definition: TransferError.h:18
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
std::uint64_t ObjectId
Unique Id of a cbe::Object.
Definition: Types.h:100
std::uint64_t ContainerId
Unique Id of a cbe::Container.
Definition: Types.h:60