accounts-qt
1.16
|
Base object definition for accounts error handling. More...
#include <Accounts/Error>
Public Types | |
enum | ErrorType { NoError = 0, Unknown, Database, Deleted, DatabaseLocked, AccountNotFound } |
Error codes for all the accounts errors. More... | |
Public Member Functions | |
Error () | |
Basic constructor. | |
Error (const Error &src) | |
Copy constructor. More... | |
Error (ErrorType type, const QString &message=QString()) | |
Constructor. More... | |
Error & | operator= (const Error &src) |
Assignment operator. More... | |
virtual | ~Error () |
Destructor. | |
ErrorType | type () const |
QString | message () const |
enum ErrorType |
|
inline |
Definition at line 100 of file error.h.
Referenced by Error::operator=().
Assignment operator.
src | The error object to be assigned to this instance. |
Definition at line 84 of file error.h.
References Error::message(), and Error::type().
|
inline |