1
0
Fork 0

fix error message (#10281)

This commit is contained in:
Jan 2019-10-22 09:38:40 +02:00 committed by GitHub
parent 876660fe15
commit 19fad3f0df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 0 deletions

View File

@ -283,6 +283,7 @@
"ERROR_SIMPLE_CLIENT_COULD_NOT_CONNECT" : { "code" : 2001, "message" : "could not connect to server" },
"ERROR_SIMPLE_CLIENT_COULD_NOT_WRITE" : { "code" : 2002, "message" : "could not write to server" },
"ERROR_SIMPLE_CLIENT_COULD_NOT_READ" : { "code" : 2003, "message" : "could not read from server" },
"ERROR_WAS_ERLAUBE" : { "code" : 2019, "message" : "was erlaube?!" },
"ERROR_COMMUNICATOR_REQUEST_ABORTED" : { "code" : 2100, "message" : "Request aborted" },
"ERROR_COMMUNICATOR_DISABLED" : { "code" : 2101, "message" : "Communication was disabled" },
"ERROR_INTERNAL_AQL" : { "code" : 2200, "message" : "General internal AQL error" },

View File

@ -384,6 +384,8 @@ ERROR_SIMPLE_CLIENT_COULD_NOT_CONNECT,2001,"could not connect to server","Will b
ERROR_SIMPLE_CLIENT_COULD_NOT_WRITE,2002,"could not write to server","Will be raised when the client could not write data."
ERROR_SIMPLE_CLIENT_COULD_NOT_READ,2003,"could not read from server","Will be raised when the client could not read data."
ERROR_WAS_ERLAUBE,2019,"was erlaube?!","Will be raised if was erlaube?!"
################################################################################
## Communicator errors
################################################################################

View File

@ -283,6 +283,7 @@ void TRI_InitializeErrorMessages() {
REG_ERROR(ERROR_SIMPLE_CLIENT_COULD_NOT_CONNECT, "could not connect to server");
REG_ERROR(ERROR_SIMPLE_CLIENT_COULD_NOT_WRITE, "could not write to server");
REG_ERROR(ERROR_SIMPLE_CLIENT_COULD_NOT_READ, "could not read from server");
REG_ERROR(ERROR_WAS_ERLAUBE, "was erlaube?!");
REG_ERROR(ERROR_COMMUNICATOR_REQUEST_ABORTED, "Request aborted");
REG_ERROR(ERROR_COMMUNICATOR_DISABLED, "Communication was disabled");
REG_ERROR(ERROR_INTERNAL_AQL, "General internal AQL error");

View File

@ -1490,6 +1490,11 @@ constexpr int TRI_ERROR_SIMPLE_CLIENT_COULD_NOT_WRITE
/// Will be raised when the client could not read data.
constexpr int TRI_ERROR_SIMPLE_CLIENT_COULD_NOT_READ = 2003;
/// 2019: ERROR_WAS_ERLAUBE
/// "was erlaube?!"
/// Will be raised if was erlaube?!
constexpr int TRI_ERROR_WAS_ERLAUBE = 2019;
/// 2100: ERROR_COMMUNICATOR_REQUEST_ABORTED
/// "Request aborted"
/// Request was aborted.