summaryrefslogtreecommitdiff
path: root/libs/tgl/src/errors
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-03-11 14:41:45 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-03-11 14:41:45 +0000
commitbb5bb4407f2578ed8d6dc3b41f6ddb8b798e560c (patch)
tree1e21750da4e7e9a2b81993f9a5484be95e394cfc /libs/tgl/src/errors
parent2d0a5026812236b19c573bbe8d08aa20df7083d9 (diff)
tgl compile under vc2013
git-svn-id: http://svn.miranda-ng.org/main/trunk@16457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'libs/tgl/src/errors')
-rw-r--r--libs/tgl/src/errors11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/tgl/src/errors b/libs/tgl/src/errors
new file mode 100644
index 0000000000..481a144737
--- /dev/null
+++ b/libs/tgl/src/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