annotate MySQLdb/constants/CR.py @ 10:3f4c6af70e52 MySQLdb

Me and PyLint had a knife fight, but PyLint had a gun.
author adustman
date Mon, 26 Feb 2007 02:40:02 +0000
parents e48810735f11
children 7773efbe9b30
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
1 """MySQL Connection Errors
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
2
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
3 Nearly all of these raise OperationalError. COMMANDS_OUT_OF_SYNC
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
4 raises ProgrammingError.
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
5
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
6 """
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
7
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
8 MIN_ERROR = 2000
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
9 MAX_ERROR = 2999
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
10 UNKNOWN_ERROR = 2000
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
11 SOCKET_CREATE_ERROR = 2001
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
12 CONNECTION_ERROR = 2002
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
13 CONN_HOST_ERROR = 2003
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
14 IPSOCK_ERROR = 2004
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
15 UNKNOWN_HOST = 2005
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
16 SERVER_GONE_ERROR = 2006
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
17 VERSION_ERROR = 2007
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
18 OUT_OF_MEMORY = 2008
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
19 WRONG_HOST_INFO = 2009
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
20 LOCALHOST_CONNECTION = 2010
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
21 TCP_CONNECTION = 2011
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
22 SERVER_HANDSHAKE_ERR = 2012
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
23 SERVER_LOST = 2013
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
24 COMMANDS_OUT_OF_SYNC = 2014
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
25 NAMEDPIPE_CONNECTION = 2015
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
26 NAMEDPIPEWAIT_ERROR = 2016
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
27 NAMEDPIPEOPEN_ERROR = 2017
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
28 NAMEDPIPESETSTATE_ERROR = 2018
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
29 CANT_READ_CHARSET = 2019
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
30 NET_PACKET_TOO_LARGE = 2020