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

#include <Types.h>

Inheritance diagram for qevercloud::ManageNotebookSharesError:
qevercloud::Printable

Public Member Functions

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

Public Attributes

EverCloudLocalData localData
 
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

◆ print()

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

Implements qevercloud::Printable.

Member Data Documentation

◆ localData

EverCloudLocalData qevercloud::ManageNotebookSharesError::localData

See the declaration of EverCloudLocalData for details

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