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

#include <types.h>

Public Member Functions

bool operator== (const ManageNoteSharesError &other) const
 
bool operator!= (const ManageNoteSharesError &other) const
 

Public Attributes

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

Member Data Documentation

◆ identityID

Optional< IdentityID > qevercloud::ManageNoteSharesError::identityID

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

◆ 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.