9 #ifndef QEVERCLOUD_EXCEPTIONS_H 10 #define QEVERCLOUD_EXCEPTIONS_H 18 #include <QNetworkReply> 40 QNetworkReply::NetworkError type()
const;
42 const char * what()
const noexcept
override;
60 virtual void throwException()
const override;
78 INVALID_MESSAGE_TYPE = 2,
79 WRONG_METHOD_NAME = 3,
88 QTextStream & strm,
const Type type);
100 const char * what()
const noexcept
override;
118 virtual void throwException()
const override;
138 virtual void throwException()
const override;
160 virtual void throwException()
const override;
182 virtual void throwException()
const override;
203 Optional<QList<EDAMInvalidContactReason> > reasons);
205 virtual void throwException()
const override;
241 virtual void throwException()
const override;
271 virtual void throwException()
const override;
276 #endif // QEVERCLOUD_EXCEPTIONS_H Optional< QString > m_key
Definition: Exceptions.h:186
The NetworkException class represents QNetworkReply level errors.
Definition: Exceptions.h:29
Definition: Exceptions.h:151
Definition: Exceptions.h:130
Definition: Exceptions.h:249
Definition: EverCloudException.h:174
QNetworkReply::NetworkError m_type
Definition: Exceptions.h:47
Optional< QString > m_message
Definition: Exceptions.h:164
Optional< qint32 > m_rateLimitDuration
Definition: Exceptions.h:165
Definition: Exceptions.h:231
Type m_type
Definition: Exceptions.h:105
Optional< QString > m_identifier
Definition: Exceptions.h:185
ThriftException::Type m_type
Definition: Exceptions.h:121
EDAMErrorCode m_errorCode
Definition: Exceptions.h:141
Definition: Exceptions.h:218
#define QEVERCLOUD_EXPORT
Definition: Export.h:19
Definition: Exceptions.h:54
Definition: AsyncResult.h:21
Definition: Exceptions.h:112
EDAMErrorCode m_errorCode
Definition: Exceptions.h:163
QNetworkReply::NetworkError m_type
Definition: Exceptions.h:63
Definition: Exceptions.h:72
Optional< QString > m_parameter
Definition: Exceptions.h:142
Definition: EverCloudException.h:32
Definition: Exceptions.h:174
Type
Definition: Exceptions.h:75
QEVERCLOUD_EXPORT QTextStream & operator<<(QTextStream &out, const EDAMErrorCode value)
Definition: Exceptions.h:261
EDAMErrorCode
Definition: EDAMErrorCode.h:112
EverCloudException counterpart for asynchronous API.
Definition: EverCloudException.h:129
std::shared_ptr< EverCloudExceptionData > EverCloudExceptionDataPtr
Definition: EverCloudException.h:149