Base object definition for accounts error handling.
More...
#include <Accounts/Error>
Base object definition for accounts error handling.
Definition at line 43 of file error.h.
◆ ErrorType
Error codes for all the accounts errors.
| Enumerator |
|---|
| Database | Generic database error
|
| Deleted | The account object refers to an account which has been deleted
|
| DatabaseLocked | The database is locked
|
| AccountNotFound | The account couldn't be found
|
Definition at line 49 of file error.h.
◆ Error() [1/3]
◆ Error() [2/3]
| Error |
( |
const Error & | src | ) |
|
|
inline |
◆ Error() [3/3]
| Error |
( |
ErrorType | type, |
|
|
const QString & | message = QString() ) |
|
inline |
◆ ~Error()
Destructor.
Definition at line 90 of file error.h.
◆ message()
| QString message |
( |
| ) |
const |
|
inline |
◆ operator=()
Assignment operator.
- Parameters
-
| src | The error object to be assigned to this instance. |
Definition at line 84 of file error.h.
References Error(), message(), and type().
◆ type()
The documentation for this class was generated from the following file: