QEverCloud 6.1.0
Unofficial Evernote Cloud API for Qt
Loading...
Searching...
No Matches
qevercloud::EDAMInvalidContactsException Class Reference

#include <Types.h>

Inheritance diagram for qevercloud::EDAMInvalidContactsException:
qevercloud::EvernoteException qevercloud::Printable qevercloud::EverCloudException

Public Member Functions

 EDAMInvalidContactsException ()
virtual ~EDAMInvalidContactsException () noexcept override
 EDAMInvalidContactsException (const EDAMInvalidContactsException &other)
const char * what () const noexcept override
virtual EverCloudExceptionDataPtr exceptionData () const override
virtual void print (QTextStream &strm) const override
bool operator== (const EDAMInvalidContactsException &other) const
bool operator!= (const EDAMInvalidContactsException &other) const
Public Member Functions inherited from qevercloud::EvernoteException
 EvernoteException ()
 EvernoteException (QString error)
 EvernoteException (const std::string &error)
 EvernoteException (const char *error)
Public Member Functions inherited from qevercloud::EverCloudException
 EverCloudException ()
 EverCloudException (QString error)
 EverCloudException (const std::string &error)
 EverCloudException (const char *error)
virtual ~EverCloudException () noexcept override
Public Member Functions inherited from qevercloud::Printable
 Printable ()=default
virtual ~Printable ()=default
virtual QString toString () const

Public Attributes

QList< Contactcontacts
Optional< QString > parameter
Optional< QList< EDAMInvalidContactReason > > reasons

Properties

OptionalQList< EDAMInvalidContactReasonreasons

Additional Inherited Members

Protected Attributes inherited from qevercloud::EverCloudException
QByteArray m_error

Detailed Description

An exception thrown when the provided Contacts fail validation. For instance, email domains could be invalid, phone numbers might not be valid for SMS, etc.

We will not provide individual reasons for each Contact's validation failure. The presence of the Contact in this exception means that the user must figure out how to take appropriate action to fix this Contact.

contacts

The list of Contacts that are considered invalid by the service

parameter

If the error applied to a particular input parameter, this will indicate which parameter.

reasons
If supplied, the list of reasons why the server considered a contact invalid, matching, in order, the list returned in the contacts field.

Constructor & Destructor Documentation

◆ EDAMInvalidContactsException() [1/2]

qevercloud::EDAMInvalidContactsException::EDAMInvalidContactsException ( )

◆ ~EDAMInvalidContactsException()

virtual qevercloud::EDAMInvalidContactsException::~EDAMInvalidContactsException ( )
overridevirtualnoexcept

◆ EDAMInvalidContactsException() [2/2]

qevercloud::EDAMInvalidContactsException::EDAMInvalidContactsException ( const EDAMInvalidContactsException & other)

Member Function Documentation

◆ exceptionData()

virtual EverCloudExceptionDataPtr qevercloud::EDAMInvalidContactsException::exceptionData ( ) const
overridevirtual

Reimplemented from qevercloud::EvernoteException.

◆ operator!=()

bool qevercloud::EDAMInvalidContactsException::operator!= ( const EDAMInvalidContactsException & other) const
inline

◆ operator==()

bool qevercloud::EDAMInvalidContactsException::operator== ( const EDAMInvalidContactsException & other) const
inline

◆ print()

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

Implements qevercloud::Printable.

◆ what()

const char * qevercloud::EDAMInvalidContactsException::what ( ) const
overridevirtualnoexcept

Reimplemented from qevercloud::EverCloudException.

Member Data Documentation

◆ contacts

QList< Contact > qevercloud::EDAMInvalidContactsException::contacts

◆ parameter

Optional< QString > qevercloud::EDAMInvalidContactsException::parameter

◆ reasons

Optional<QList<EDAMInvalidContactReason> > qevercloud::EDAMInvalidContactsException::reasons

Property Documentation

◆ reasons

OptionalQList<EDAMInvalidContactReason> qevercloud::EDAMInvalidContactsException::reasons