We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 906335d commit a9ed90bCopy full SHA for a9ed90b
tarantool/connection.py
@@ -19,6 +19,7 @@
19
except ImportError:
20
from ctypes import c_longlong as c_ssize_t
21
22
+import tarantool
23
from tarantool.response import Response
24
from tarantool.request import (
25
Request,
@@ -62,6 +63,12 @@ class Connection(object):
62
63
c_ssize_t, ctypes.c_int,
64
use_errno=True)(_libc.recv)
65
66
+ Error = tarantool.error
67
+ DatabaseError = tarantool.error.DatabaseError
68
+ InterfaceError = tarantool.error.InterfaceError
69
+ SchemaError = tarantool.error.SchemaError
70
+ NetworkError = tarantool.error.NetworkError
71
+
72
def __init__(self, host, port,
73
user=None,
74
password=None,
0 commit comments