QEverCloud
Unofficial Evernote Cloud API for Qt
Public Member Functions | Public Attributes | List of all members
qevercloud::EDAMSystemException Class Reference

This exception is thrown by EDAM procedures when a call fails as a result of a problem in the service that could not be changed through caller action. More...

Inherits qevercloud::EvernoteException.

Inherited by qevercloud::EDAMSystemExceptionAuthExpired, and qevercloud::EDAMSystemExceptionRateLimitReached.

Public Member Functions

virtual QSharedPointer
< EverCloudExceptionData
exceptionData () const Q_DECL_OVERRIDE
 
const char * what () const Q_DECL_OVERRIDE throw ()
 
- Public Member Functions inherited from qevercloud::EvernoteException
 EvernoteException (QString err)
 
 EvernoteException (const std::string &err)
 
 EvernoteException (const char *err)
 
- Public Member Functions inherited from qevercloud::EverCloudException
 EverCloudException (QString err)
 
 EverCloudException (const std::string &err)
 
 EverCloudException (const char *err)
 
const char * what () const Q_DECL_OVERRIDE throw ()
 

Public Attributes

EDAMErrorCode::type errorCode
 
Optional< QString > message
 
Optional< qint32 > rateLimitDuration
 

Additional Inherited Members

- Protected Attributes inherited from qevercloud::EverCloudException
QByteArray err_
 

Detailed Description

This exception is thrown by EDAM procedures when a call fails as a result of a problem in the service that could not be changed through caller action.

errorCode: The numeric code indicating the type of error that occurred. must be one of the values of EDAMErrorCode.

message: This may contain additional information about the error

rateLimitDuration: Indicates the minimum number of seconds that an application should expect subsequent API calls for this user to fail. The application should not retry API requests for the user until at least this many seconds have passed. Present only when errorCode is RATE_LIMIT_REACHED,