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

#include <types.h>

Public Member Functions

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

Public Attributes

Optional< UserIdentityuserIdentity
 
Optional< EDAMUserExceptionuserException
 
Optional< EDAMNotFoundExceptionnotFoundException
 

Detailed Description

A structure to capture certain errors that occurred during a call to manageNotebookShares. That method can be run best-effort, meaning that some change requests can be applied while others fail. Note that some errors such as system errors will still fail the entire transaction regardless of running best effort. When some change requests do not succeed, the error conditions are captured in instances of this class, captured by the identity of the share relationship and one of the exception fields.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

Member Data Documentation

◆ notFoundException

Optional< EDAMNotFoundException > qevercloud::ManageNotebookSharesError::notFoundException

If the error is represented as an EDAMNotFoundException that would have otherwise been thrown without best-effort execution. Only one exception field will be set.

◆ userException

Optional< EDAMUserException > qevercloud::ManageNotebookSharesError::userException

If the error is represented as an EDAMUserException that would have otherwise been thrown without best-effort execution. Only one exception field will be set.

◆ userIdentity

Optional< UserIdentity > qevercloud::ManageNotebookSharesError::userIdentity

The identity of the share relationship whose update encountered an error.