aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/basejob.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-04-29 18:29:56 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-04-29 18:29:56 +0900
commitb5d962b0f5dcd3497db8a4b3bada46bb666d08e1 (patch)
tree10d6e3add6b73cf9e4cecdeca08c72b490c50f7a /lib/jobs/basejob.h
parent4ced9792f27ed3d891c1f7772ae30d9fe452dd79 (diff)
parentf5af25428212f139c59941bb294a184242c8b5e0 (diff)
downloadlibquotient-b5d962b0f5dcd3497db8a4b3bada46bb666d08e1.tar.gz
libquotient-b5d962b0f5dcd3497db8a4b3bada46bb666d08e1.zip
Merge branch 'master' into kitsune-gtad
Diffstat (limited to 'lib/jobs/basejob.h')
-rw-r--r--lib/jobs/basejob.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h
index f243066f..763ef75a 100644
--- a/lib/jobs/basejob.h
+++ b/lib/jobs/basejob.h
@@ -53,6 +53,8 @@ namespace QMatrixClient
enum StatusCode { NoError = 0 // To be compatible with Qt conventions
, Success = 0
, Pending = 1
+ , WarningLevel = 20
+ , UnexpectedResponseTypeWarning = 21
, Abandoned = 50 //< A very brief period between abandoning and object deletion
, ErrorLevel = 100 //< Errors have codes starting from this
, NetworkError = 100
@@ -63,6 +65,8 @@ namespace QMatrixClient
, IncorrectRequestError
, IncorrectResponseError
, TooManyRequestsError
+ , RequestNotImplementedError
+ , NetworkAuthRequiredError
, UserDefinedError = 200
};