25 enum class CoreErrors;
30 template<
typename ERROR_TYPE>
42 m_errorType(errorType), m_exceptionName(exceptionName), m_message(message), m_isRetryable(isRetryable) {}
46 AWSError(ERROR_TYPE errorType,
bool isRetryable) :
47 m_errorType(errorType), m_isRetryable(isRetryable) {}
57 inline const ERROR_TYPE
GetErrorType()
const {
return m_errorType; }
80 ERROR_TYPE m_errorType;
const Aws::String & GetMessage() const
void SetExceptionName(const Aws::String &exceptionName)
AWSError(ERROR_TYPE errorType, bool isRetryable)
const Aws::String & GetExceptionName() const
AWSError(ERROR_TYPE errorType, Aws::String exceptionName, const Aws::String message, bool isRetryable)
const ERROR_TYPE GetErrorType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
void SetMessage(const Aws::String &message)
AWSError(const AWSError< CoreErrors > &rhs)
JSON (JavaScript Object Notation).