errors.py
Exception classes for the DataJoint library
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
Parameters:
Name | Type | Description | Default |
---|---|---|---|
args |
addition arguments |
()
|
Returns:
Type | Description |
---|---|
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 |
|
LostConnectionError
¶
Bases: DataJointError
Loss of server connection
Source code in datajoint/errors.py
45 46 47 48 |
|
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 |
|
AccessError
¶
Bases: QueryError
User access error: insufficient privileges.
Source code in datajoint/errors.py
64 65 66 67 |
|
MissingTableError
¶
Bases: DataJointError
Query on a table that has not been declared
Source code in datajoint/errors.py
70 71 72 73 |
|
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 |
|
UnknownAttributeError
¶
Bases: QueryError
User requests an attribute name not found in query heading
Source code in datajoint/errors.py
88 89 90 91 |
|
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 |
|
BucketInaccessible
¶
Bases: DataJointError
Error raised when a S3 bucket is inaccessible
Source code in datajoint/errors.py
106 107 108 109 |
|