diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-03-24 21:42:56 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-03-24 21:42:56 +0900 |
commit | 15ef0758ccb7e1637d3a0400f5903d4a7906cd93 (patch) | |
tree | e08b35dd00a4a78866864282c4e3bd985bdea33a /jobs/basejob.h | |
parent | f3d7021ccec51c2b9f4a83c5dc92dc7c56b776f8 (diff) | |
download | libquotient-15ef0758ccb7e1637d3a0400f5903d4a7906cd93.tar.gz libquotient-15ef0758ccb7e1637d3a0400f5903d4a7906cd93.zip |
BaseJob: Add more error states
This should help to provide more reasonable error messages when a particular resource is not found or entered data are outright incorrect.
Diffstat (limited to 'jobs/basejob.h')
-rw-r--r-- | jobs/basejob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jobs/basejob.h b/jobs/basejob.h index ba6c4a62..e54580bd 100644 --- a/jobs/basejob.h +++ b/jobs/basejob.h @@ -46,6 +46,8 @@ namespace QMatrixClient , JsonParseError , TimeoutError , ContentAccessError + , NotFoundError + , IncorrectRequestError , UserDefinedError = 200 }; |