QEverCloud  6.1.0
Unofficial Evernote Cloud API for Qt
Public Member Functions | Public Attributes | List of all members
qevercloud::ManageNoteSharesError Struct Reference

#include <Types.h>

Inheritance diagram for qevercloud::ManageNoteSharesError:
qevercloud::Printable

Public Member Functions

virtual void print (QTextStream &strm) const override
 
bool operator== (const ManageNoteSharesError &other) const
 
bool operator!= (const ManageNoteSharesError &other) const
 
- Public Member Functions inherited from qevercloud::Printable
 Printable ()=default
 
virtual ~Printable ()=default
 
virtual QString toString () const
 

Public Attributes

EverCloudLocalData localData
 
Optional< IdentityIDidentityID
 
Optional< UserIDuserID
 
Optional< EDAMUserExceptionuserException
 
Optional< EDAMNotFoundExceptionnotFoundException
 

Detailed Description

Captures errors that occur during a call to manageNoteShares. That function can be run best-effort, meaning that some change requests can be applied while others fail. Note that some errors such as system exceptions may still cause the entire call to fail.

Only one of the two ID fields will be set on a given error.

Only one of the two exception fields will be set on a given error.

Member Function Documentation

◆ operator!=()

bool qevercloud::ManageNoteSharesError::operator!= ( const ManageNoteSharesError other) const
inline

◆ operator==()

bool qevercloud::ManageNoteSharesError::operator== ( const ManageNoteSharesError other) const
inline

◆ print()

virtual void qevercloud::ManageNoteSharesError::print ( QTextStream &  strm) const
overridevirtual

Implements qevercloud::Printable.

Member Data Documentation

◆ identityID

Optional< IdentityID > qevercloud::ManageNoteSharesError::identityID

The identity ID of an outstanding invitation that was not updated due to the error.

◆ localData

EverCloudLocalData qevercloud::ManageNoteSharesError::localData

See the declaration of EverCloudLocalData for details

◆ notFoundException

Optional< EDAMNotFoundException > qevercloud::ManageNoteSharesError::notFoundException

If the error is represented as an EDAMNotFoundException that would have otherwise been thrown without best-effort execution. The identifier field of the exception will be either "Identity.id" or "User.id", indicating that no existing share could be found for the specified recipient.

◆ userException

Optional< EDAMUserException > qevercloud::ManageNoteSharesError::userException

If the error is represented as an EDAMUserException that would have otherwise been thrown without best-effort execution.

◆ userID

Optional< UserID > qevercloud::ManageNoteSharesError::userID

The user ID of an existing membership that was not updated due to the error.