Errors¶
Connectivity errors¶
Raised when a database server or service is not available. This may be due to incorrect configuration or could indicate a runtime failure of a database service that the driver is unable to route around.
-
class
neo4j.exceptions.SecurityError¶ Raised when a security issue occurs, generally around TLS or authentication.
Cypher execution errors¶
-
class
neo4j.exceptions.CypherError¶ Raised when the Cypher engine returns an error to the client. There are many possible types of Cypher error, each identified by a unique status code.
The three classifications of status code are supported by the three subclasses of
CypherError, listed below:
-
class
neo4j.exceptions.ClientError¶ The Client sent a bad request - changing the request might yield a successful outcome.
-
class
neo4j.exceptions.DatabaseError¶ The database failed to service the request.
-
class
neo4j.exceptions.TransientError¶ The database cannot service the request right now, retrying later might yield a successful outcome.