Ditto
4.0.1
Loading...
Searching...
No Matches
include
Errors.hpp
1
#ifndef _DITTO_ERRORS_
2
#define _DITTO_ERRORS_
3
4
#include <exception>
5
#include <string>
6
7
namespace
ditto {
14
class
DittoError
:
public
std::exception {
15
std::string message;
16
17
public
:
18
DittoError
();
19
explicit
DittoError
(std::string msg);
20
26
const
char
*
what
()
const
noexcept
override
;
27
};
28
}
// namespace ditto
29
30
#endif
ditto::DittoError
All errors that are thrown by the Ditto SDK are wrapped as a DittoError.
Definition:
Errors.hpp:14
ditto::DittoError::what
const char * what() const noexcept override
Returns the explanatory string.
Definition:
Errors.cpp:18
Generated by
1.9.6