errors.py
Exception classes for the DataJoint library
AccessError
¶
Bases: QueryError
User access error: insufficient privileges.
Source code in datajoint/errors.py
64 65 66 67 | |
BucketInaccessible
¶
Bases: DataJointError
Error raised when a S3 bucket is inaccessible
Source code in datajoint/errors.py
106 107 108 109 | |
DataJointError
¶
Bases: Exception
Base class for errors specific to DataJoint internal operation.
Source code in datajoint/errors.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |
suggest(*args)
¶
regenerate the exception with additional arguments
:param args: addition arguments :return: a new exception of the same type with the additional arguments
Source code in datajoint/errors.py
34 35 36 37 38 39 40 41 | |
DuplicateError
¶
Bases: QueryError
An integrity error caused by a duplicate entry into a unique key
Source code in datajoint/errors.py
76 77 78 79 | |
IntegrityError
¶
Bases: QueryError
An integrity error triggered by foreign key constraints
Source code in datajoint/errors.py
82 83 84 85 | |
LostConnectionError
¶
Bases: DataJointError
Loss of server connection
Source code in datajoint/errors.py
45 46 47 48 | |
MissingAttributeError
¶
Bases: QueryError
An error arising when a required attribute value is not provided in INSERT
Source code in datajoint/errors.py
94 95 96 97 | |
MissingExternalFile
¶
Bases: DataJointError
Error raised when an external file managed by DataJoint is no longer accessible
Source code in datajoint/errors.py
100 101 102 103 | |
MissingTableError
¶
Bases: DataJointError
Query on a table that has not been declared
Source code in datajoint/errors.py
70 71 72 73 | |
QueryError
¶
Bases: DataJointError
Errors arising from queries to the database
Source code in datajoint/errors.py
51 52 53 54 | |
QuerySyntaxError
¶
Bases: QueryError
Errors arising from incorrect query syntax
Source code in datajoint/errors.py
58 59 60 61 | |
UnknownAttributeError
¶
Bases: QueryError
User requests an attribute name not found in query heading
Source code in datajoint/errors.py
88 89 90 91 | |