8typedef dittoffi_error dittoffi_error_t;
10#define DEFINE_EXCEPTION_CLASS(EXCEPTION_NAME, ...) \
11 class EXCEPTION_NAME : public std::exception { \
13 std::string message; \
17 const char *what() const noexcept override { return message.c_str(); } \
41 const char *
what()
const noexcept override;
49 friend class AttachmentFetcherCtx;)
51 friend class AttachmentFetcherCtx;)
53 friend class AttachmentFetcherCtx;)
All errors that are thrown by the Ditto SDK are wrapped as a DittoError.
Definition Errors.hpp:28
const char * what() const noexcept override
Returns the explanatory string.
Definition Errors.cpp:50
Provides access to Collections and a write transaction API.
Definition Store.hpp:29