Exceptions

exception pyArango.theExceptions.AQLFetchError(err_message)[source]

Raised error when fetching the data.

Error when unable to fetch.

err_message : str
error message.
exception pyArango.theExceptions.AQLQueryError(message, query, errors=None)[source]

Something went wrong with an aql query

exception pyArango.theExceptions.AbstractInstanciationError(cls)[source]

Raised when someone tries to instanciate an abstract class

exception pyArango.theExceptions.ArangoError(errorObject)[source]

a generic arangodb error object

exception pyArango.theExceptions.BulkOperationError(message)[source]

Something went wrong in one of the bulk operations. This error contains more errors

exception pyArango.theExceptions.ConnectionError(message, URL, statusCode='', errors=None)[source]

Something went wrong with the connection

exception pyArango.theExceptions.CreationError(message, errors=None)[source]

Something went wrong when creating something

exception pyArango.theExceptions.CursorError(message, cursorId, errors=None)[source]

Something went wrong when trying to fetch data with a cursor

exception pyArango.theExceptions.DeletionError(message, errors=None)[source]

Something went wrong when deleting something

exception pyArango.theExceptions.DocumentNotFoundError(message, errors=None)[source]
exception pyArango.theExceptions.ExportError(message, errors=None)[source]

Something went wrong using the export cursor

exception pyArango.theExceptions.IndexError(message, errors=None)[source]

wasn’t able to get the index

exception pyArango.theExceptions.InvalidDocument(errors)[source]

Raised when a Document does not respect schema/validation defined in its collection

exception pyArango.theExceptions.QueryError(message, errors=None)[source]

Something went wrong with an aql query

exception pyArango.theExceptions.SchemaViolation(collection, field, errors=None)[source]

Raised when someone tries to add a new field to an object belonging a to a Collection with enforced schema

exception pyArango.theExceptions.SimpleQueryError(message, errors=None)[source]

Something went wrong with a simple query

exception pyArango.theExceptions.TransactionError(message, action, errors=None)[source]

Something went wrong with a transaction

exception pyArango.theExceptions.TraversalError(message, errors=None)[source]

Something went wrong when doing a graph traversal

exception pyArango.theExceptions.UniqueConstrainViolation(message, errors=None)[source]

Violation of a unique key

exception pyArango.theExceptions.UpdateError(message, errors=None)[source]

Something went wrong when updating something

exception pyArango.theExceptions.ValidationError(message, errors=None)[source]

Something went wrong when validating something

exception pyArango.theExceptions.pyArangoException(message, errors=None)[source]

The calss from witch all Exceptions inherit