aboutsummaryrefslogtreecommitdiff
path: root/jobs/basejob.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-03-24 21:42:56 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-03-24 21:42:56 +0900
commit15ef0758ccb7e1637d3a0400f5903d4a7906cd93 (patch)
treee08b35dd00a4a78866864282c4e3bd985bdea33a /jobs/basejob.h
parentf3d7021ccec51c2b9f4a83c5dc92dc7c56b776f8 (diff)
downloadlibquotient-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.h2
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
};