From ec639ecbdf49731a0bec26240efb76eb203087bc Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 11 Mar 2016 20:16:27 +0000 Subject: tgl cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@16467 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- libs/tgl/docs/errors | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/tgl/docs/errors (limited to 'libs/tgl/docs/errors') diff --git a/libs/tgl/docs/errors b/libs/tgl/docs/errors new file mode 100644 index 0000000000..481a144737 --- /dev/null +++ b/libs/tgl/docs/errors @@ -0,0 +1,11 @@ +type of errors that tgl can set: + +EPROTO: server returned error for query. Some kinds of error (such as FLOOD_WAIT) tgl can handle by itself, but others it can not. In most cases it means bug in tgl or invalid parameter supplied to method (such as message id). + +EINVAL: tgl detected invalid argument supplied before sending query to server. For example user instead of chat or bad msg id. + +ENOENT: tgl received empty response from server. For example when user tried to get message by id + +EBADF: tgl can not open file on disk or file is empty + +E2BIG: supplied file is too big -- cgit v1.2.3