Exceptions

Exceptions Overview

All arango-python exceptions are placed into arango.exceptions module. Feel free to imprort it like this:

from arango.exceptions import InvalidCollection

List of exceptions

CollectionIdAlreadyExist
Raised in case you try to rename collection and new name already available
DocumentAlreadyCreated
Raised in case document already exist and create method is called
DocumentIncompatibleDataType
Raised in case you trying to update document with non-dict or non-list data
DocumentNotFound
Raised in case Document not exist in database
EdgeAlreadyCreated
Raised in case Edge have identifier and already created
EdgeIncompatibleDataType
Raised when you provide new body not None or not dict
EdgeNotFound
Raised in case edge not found in database
EdgeNotYetCreated
Raised in case you try to update Edge which is not created
EmptyFields
Raised in case no fields for index provied
InvalidCollection
Collection should exist and be subclass of Collection object
InvalidCollectionId
Invalid name of the collection provided
WrongIndexType
Raises in case index type is undefined

Table Of Contents

Related Topics

This Page

Fork me on GitHub