Enum rincon_core::arango::ErrorCode [] [src]

pub enum ErrorCode {
    NoError,
    Failed,
    SysError,
    OutOfMemory,
    Internal,
    IllegalNumber,
    NumericOverflow,
    IllegalOption,
    DeadPid,
    NotImplemented,
    BadParameter,
    Forbidden,
    OutOfMemoryMmap,
    CorruptedCsv,
    FileNotFound,
    CannotWriteFile,
    CannotOverwriteFile,
    TypeError,
    LockTimeout,
    CannotCreateDirectory,
    CannotCreateTempFile,
    RequestCanceled,
    Debug,
    IpAddressInvalid,
    FileExists,
    Locked,
    Deadlock,
    ShuttingDown,
    OnlyEnterprise,
    ResourceLimit,
    HttpBadParameter,
    HttpUnauthorized,
    HttpForbidden,
    HttpNotFound,
    HttpMethodNotAllowed,
    HttpNotAcceptable,
    HttpConflict,
    HttpPreconditionFailed,
    HttpServerError,
    HttpServiceUnavailable,
    HttpCorruptedJson,
    HttpSuperfluousSuffices,
    ArangoIllegalState,
    ArangoDatafileSealed,
    ArangoReadOnly,
    ArangoDuplicateIdentifier,
    ArangoDatafileUnreadable,
    ArangoDatafileEmpty,
    ArangoRecovery,
    ArangoDatafileStatisticsNotFound,
    ArangoCorruptedDatafile,
    ArangoIllegalParameterFile,
    ArangoCorruptedCollection,
    ArangoMmapFailed,
    ArangoFilesystemFull,
    ArangoNoJournal,
    ArangoDatafileAlreadyExists,
    ArangoDatadirLocked,
    ArangoCollectionDirectoryAlreadyExists,
    ArangoMsyncFailed,
    ArangoDatadirUnlockable,
    ArangoSyncTimeout,
    ArangoConflict,
    ArangoDatadirInvalid,
    ArangoDocumentNotFound,
    ArangoCollectionNotFound,
    ArangoCollectionParameterMissing,
    ArangoDocumentHandleBad,
    ArangoMaximalSizeTooSmall,
    ArangoDuplicateName,
    ArangoIllegalName,
    ArangoNoIndex,
    ArangoUniqueConstraintViolated,
    ArangoViewNotFound,
    ArangoIndexNotFound,
    ArangoCrossCollectionRequest,
    ArangoIndexHandleBad,
    ArangoDocumentTooLarge,
    ArangoCollectionNotUnloaded,
    ArangoCollectionTypeInvalid,
    ArangoValidationFailed,
    ArangoAttributeParserFailed,
    ArangoDocumentKeyBad,
    ArangoDocumentKeyUnexpected,
    ArangoDatadirNotWritable,
    ArangoOutOfKeys,
    ArangoDocumentKeyMissing,
    ArangoDocumentTypeInvalid,
    ArangoDatabaseNotFound,
    ArangoDatabaseNameInvalid,
    ArangoUseSystemDatabase,
    ArangoEndpointNotFound,
    ArangoInvalidKeyGenerator,
    ArangoInvalidEdgeAttribute,
    ArangoIndexDocumentAttributeMissing,
    ArangoIndexCreationFailed,
    ArangoWriteThrottleTimeout,
    ArangoCollectionTypeMismatch,
    ArangoCollectionNotLoaded,
    ArangoDocumentRevBad,
    ArangoDatafileFull,
    ArangoEmptyDatadir,
    ArangoTryAgain,
    ArangoBusy,
    ArangoMergeInProgress,
    ArangoIoError,
    ReplicationNoResponse,
    ReplicationInvalidResponse,
    ReplicationMasterError,
    ReplicationMasterIncompatible,
    ReplicationMasterChange,
    ReplicationLoop,
    ReplicationUnexpectedMarker,
    ReplicationInvalidApplierState,
    ReplicationUnexpectedTransaction,
    ReplicationInvalidApplierConfiguration,
    ReplicationRunning,
    ReplicationApplierStopped,
    ReplicationNoStartTick,
    ReplicationStartTickNotPresent,
    ReplicationWrongChecksumFormat,
    ReplicationWrongChecksum,
    ClusterNoAgency,
    ClusterNoCoordinatorHeader,
    ClusterCouldNotLockPlan,
    ClusterCollectionIdExists,
    ClusterCouldNotCreateCollectionInPlan,
    ClusterCouldNotReadCurrentVersion,
    ClusterCouldNotCreateCollection,
    ClusterTimeout,
    ClusterCouldNotRemoveCollectionInPlan,
    ClusterCouldNotRemoveCollectionInCurrent,
    ClusterCouldNotCreateDatabaseInPlan,
    ClusterCouldNotCreateDatabase,
    ClusterCouldNotRemoveDatabaseInPlan,
    ClusterCouldNotRemoveDatabaseInCurrent,
    ClusterShardGone,
    ClusterConnectionLost,
    ClusterMustNotSpecifyKey,
    ClusterGotContradictingAnswers,
    ClusterNotAllShardingAttributesGiven,
    ClusterMustNotChangeShardingAttributes,
    ClusterUnsupported,
    ClusterOnlyOnCoordinator,
    ClusterReadingPlanAgency,
    ClusterCouldNotTruncateCollection,
    ClusterAqlCommunication,
    ArangoDocumentNotFoundOrShardingAttributesChanged,
    ClusterCouldNotDetermineId,
    ClusterOnlyOnDbserver,
    ClusterBackendUnavailable,
    ClusterUnknownCallbackEndpoint,
    ClusterAgencyStructureInvalid,
    ClusterAqlCollectionOutOfSync,
    ClusterCouldNotCreateIndexInPlan,
    ClusterCouldNotDropIndexInPlan,
    ClusterChainOfDistributeshardslike,
    ClusterMustNotDropCollOtherDistributeshardslike,
    ClusterUnknownDistributeshardslike,
    ClusterInsufficientDbservers,
    ClusterCouldNotDropFollower,
    ClusterShardLeaderRefusesReplication,
    ClusterShardFollowerRefusesOperation,
    ClusterShardLeaderResigned,
    ClusterAgencyCommunicationFailed,
    ClusterDistributeShardsLikeReplicationFactor,
    ClusterDistributeShardsLikeNumberOfShards,
    QueryKilled,
    QueryParse,
    QueryEmpty,
    QueryScript,
    QueryNumberOutOfRange,
    QueryVariableNameInvalid,
    QueryVariableRedeclared,
    QueryVariableNameUnknown,
    QueryCollectionLockFailed,
    QueryTooManyCollections,
    QueryDocumentAttributeRedeclared,
    QueryFunctionNameUnknown,
    QueryFunctionArgumentNumberMismatch,
    QueryFunctionArgumentTypeMismatch,
    QueryInvalidRegex,
    QueryBindParametersInvalid,
    QueryBindParameterMissing,
    QueryBindParameterUndeclared,
    QueryBindParameterType,
    QueryInvalidLogicalValue,
    QueryInvalidArithmeticValue,
    QueryDivisionByZero,
    QueryArrayExpected,
    QueryFailCalled,
    QueryGeoIndexMissing,
    QueryFulltextIndexMissing,
    QueryInvalidDateValue,
    QueryMultiModify,
    QueryInvalidAggregateExpression,
    QueryCompileTimeOptions,
    QueryExceptionOptions,
    QueryCollectionUsedInExpression,
    QueryDisallowedDynamicCall,
    QueryAccessAfterModification,
    QueryFunctionInvalidName,
    QueryFunctionInvalidCode,
    QueryFunctionNotFound,
    QueryFunctionRuntimeError,
    QueryBadJsonPlan,
    QueryNotFound,
    QueryInUse,
    CursorNotFound,
    CursorBusy,
    TransactionInternal,
    TransactionNested,
    TransactionUnregisteredCollection,
    TransactionDisallowedOperation,
    TransactionAborted,
    UserInvalidName,
    UserInvalidPassword,
    UserDuplicate,
    UserNotFound,
    UserChangePassword,
    ServiceInvalidName,
    ServiceInvalidMount,
    ServiceDownloadFailed,
    ServiceUploadFailed,
    LdapCannotInit,
    LdapCannotSetOption,
    LdapCannotBind,
    LdapCannotUnbind,
    LdapCannotSearch,
    LdapCannotStartTls,
    LdapFoundNoObjects,
    LdapNotOneUserFound,
    LdapUserNotIdentified,
    LdapInvalidMode,
    TaskInvalidId,
    TaskDuplicateId,
    TaskNotFound,
    GraphInvalidGraph,
    GraphCouldNotCreateGraph,
    GraphInvalidVertex,
    GraphCouldNotCreateVertex,
    GraphCouldNotChangeVertex,
    GraphInvalidEdge,
    GraphCouldNotCreateEdge,
    GraphCouldNotChangeEdge,
    GraphTooManyIterations,
    GraphInvalidFilterResult,
    GraphCollectionMultiUse,
    GraphCollectionUseInMultiGraphs,
    GraphCreateMissingName,
    GraphCreateMalformedEdgeDefinition,
    GraphNotFound,
    GraphDuplicate,
    GraphVertexColDoesNotExist,
    GraphWrongCollectionTypeVertex,
    GraphNotInOrphanCollection,
    GraphCollectionUsedInEdgeDef,
    GraphEdgeCollectionNotUsed,
    GraphNotAnArangoCollection,
    GraphNoGraphCollection,
    GraphInvalidExampleArrayObjectString,
    GraphInvalidExampleArrayObject,
    GraphInvalidNumberOfArguments,
    GraphInvalidParameter,
    GraphInvalidId,
    GraphCollectionUsedInOrphans,
    GraphEdgeColDoesNotExist,
    GraphEmpty,
    SessionUnknown,
    SessionExpired,
    SimpleClientUnknownError,
    SimpleClientCouldNotConnect,
    SimpleClientCouldNotWrite,
    SimpleClientCouldNotRead,
    CommunicatorRequestAborted,
    CommunicatorDisabled,
    MalformedManifestFile,
    InvalidServiceManifest,
    ServiceFilesMissing,
    ServiceFilesOutdated,
    InvalidFoxxOptions,
    InvalidMountpoint,
    ServiceNotFound,
    ServiceNeedsConfiguration,
    ServiceMountpointConflict,
    ServiceManifestNotFound,
    ServiceOptionsMalformed,
    ServiceSourceNotFound,
    ServiceSourceError,
    ServiceUnknownScript,
    ModuleNotFound,
    ModuleSyntaxError,
    ModuleFailure,
    NoSmartCollection,
    NoSmartGraphAttribute,
    CannotDropSmartCollection,
    KeyMustBePrefixedWithSmartGraphAttribute,
    IllegalSmartGraphAttribute,
    AgencyInquirySyntax,
    AgencyInformMustBeObject,
    AgencyInformMustContainTerm,
    AgencyInformMustContainId,
    AgencyInformMustContainActive,
    AgencyInformMustContainPool,
    AgencyInformMustContainMinPing,
    AgencyInformMustContainMaxPing,
    AgencyInformMustContainTimeoutMult,
    AgencyInquireClientIdMustBeString,
    AgencyCannotRebuildDbs,
    SupervisionGeneralFailure,
    DispatcherIsStopping,
    QueueUnknown,
    QueueFull,
    UnknownError,
}

An enumeration of all error codes that are defined for ArangoDB.

Variants

No error has occurred.

Will be raised when a general error occurred.

Will be raised when operating system error occurred.

Will be raised when there is a memory shortage.

Will be raised when an internal error occurred.

Will be raised when an illegal representation of a number was given.

Will be raised when a numeric overflow occurred.

Will be raised when an unknown option was supplied by the user.

Will be raised when a PID without a living process was found.

Will be raised when hitting an unimplemented feature.

Will be raised when the parameter does not fulfill the requirements.

Will be raised when you are missing permission for the operation.

Will be raised when there is a memory shortage.

Will be raised when encountering a corrupt csv line.

Will be raised when a file is not found.

Will be raised when a file cannot be written.

Will be raised when an attempt is made to overwrite an existing file.

Will be raised when a type error is encountered.

Will be raised when there's a timeout waiting for a lock.

Will be raised when an attempt to create a directory fails.

Will be raised when an attempt to create a temporary file fails.

Will be raised when a request is canceled by the user.

Will be raised intentionally during debugging.

Will be raised when the structure of an IP address is invalid.

Will be raised when a file already exists.

Will be raised when a resource or an operation is locked.

Will be raised when a deadlock is detected when accessing collections.

Will be raised when a call cannot succeed because a server shutdown is already in progress.

Will be raised when an enterprise-feature is requested from the community edition.

Will be raised when the resources used by an operation exceed the configured maximum value.

Will be raised when the HTTP request does not fulfill the requirements.

Will be raised when authorization is required but the user is not authorized.

Will be raised when the operation is forbidden.

Will be raised when an URI is unknown.

Will be raised when an unsupported HTTP method is used for an operation.

Will be raised when an unsupported HTTP content type is used for an operation, or if a request is not acceptable for a leader or follower.

Will be raised when a conflict with the current state of a resource is found.

Will be raised when a precondition for an HTTP request is not met.

Will be raised when an internal server error is encountered.

Will be raised when a service is temporarily unavailable.

Will be raised when a string representation of a JSON object is corrupt.

Will be raised when the URL contains superfluous suffices.

Internal error that will be raised when the datafile is not in the required state.

Internal error that will be raised when trying to write to a datafile.

Internal error that will be raised when trying to write to a read-only datafile or collection.

Internal error that will be raised when a identifier duplicate is detected.

Internal error that will be raised when a datafile is unreadable.

Internal error that will be raised when a datafile is empty.

Will be raised when an error occurred during WAL log file recovery.

Will be raised when a required datafile statistics object was not found.

Will be raised when a corruption is detected in a datafile.

Will be raised if a parameter file is corrupted or cannot be read.

Will be raised when a collection contains one or more corrupted data files.

Will be raised when the system call mmap failed.

Will be raised when the filesystem is full.

Will be raised when a journal cannot be created.

Will be raised when the datafile cannot be created or renamed because a file of the same name already exists.

Will be raised when the database directory is locked by a different process.

Will be raised when the collection cannot be created because a directory of the same name already exists.

Will be raised when the system call msync failed.

Will be raised when the server cannot lock the database directory on startup.

Will be raised when the server waited too long for a datafile to be synced to disk.

Will be raised when updating or deleting a document and a conflict has been detected.

Will be raised when a non-existing database directory was specified when starting the database.

Will be raised when a document with a given identifier or handle is unknown.

Will be raised when a collection with the given identifier or name is unknown.

Will be raised when the collection parameter is missing.

Will be raised when a document handle is corrupt.

Will be raised when the maximal size of the journal is too small.

Will be raised when a name duplicate is detected.

Will be raised when an illegal name is detected.

Will be raised when no suitable index for the query is known.

Will be raised when there is a unique constraint violation.

Will be raised when a view with the given identifier or name is unknown.

Will be raised when an index with a given identifier is unknown.

Will be raised when a cross-collection is requested.

Will be raised when a index handle is corrupt.

Will be raised when the document cannot fit into any datafile because of it is too large.

Will be raised when a collection should be unloaded, but has a different status.

Will be raised when an invalid collection type is used in a request.

Will be raised when the validation of an attribute of a structure failed.

Will be raised when parsing an attribute name definition failed.

Will be raised when a document key is corrupt.

Will be raised when a user-defined document key is supplied for collections with auto key generation.

Will be raised when the server's database directory is not writable for the current user.

Will be raised when a key generator runs out of keys.

Will be raised when a document key is missing.

Will be raised when there is an attempt to create a document with an invalid type.

Will be raised when a non-existing database is accessed.

Will be raised when an invalid database name is used.

Will be raised when an operation is requested in a database other than the system database.

Will be raised when there is an attempt to delete a non-existing endpoint.

Will be raised when an invalid key generator description is used.

will be raised when the _from or _to values of an edge are undefined or contain an invalid value.

Will be raised when an attempt to insert a document into an index is caused by in the document not having one or more attributes which the index is built on.

Will be raised when an attempt to create an index has failed.

Will be raised when the server is write-throttled and a write operation has waited too long for the server to process queued operations.

Will be raised when a collection has a different type from what has been expected.

Will be raised when a collection is accessed that is not yet loaded.

Will be raised when a document revision is corrupt or is missing where needed.

Will be raised when the datafile reaches its limit.

Will be raised when encountering an empty server database directory.

Will be raised when an operation should be retried.

Will be raised when storage engine is busy.

Will be raised when storage engine has a datafile merge in progress and cannot complete the operation.

Will be raised when storage engine encounters an I/O error.

Will be raised when the replication applier does not receive any or an incomplete response from the master.

Will be raised when the replication applier receives an invalid response from the master.

Will be raised when the replication applier receives a server error from the master.

Will be raised when the replication applier connects to a master that has an incompatible version.

Will be raised when the replication applier connects to a different master than before.

Will be raised when the replication applier is asked to connect to itself for replication.

Will be raised when an unexpected marker is found in the replication log stream.

Will be raised when an invalid replication applier state file is found.

Will be raised when an unexpected transaction id is found.

Will be raised when the configuration for the replication applier is invalid.

Will be raised when there is an attempt to perform an operation while the replication applier is running.

Special error code used to indicate the replication applier was stopped by a user.

Will be raised when the replication applier is started without a known start tick value.

Will be raised when the replication applier fetches data using a start tick, but that start tick is not present on the logger server anymore.

Will be raised when the format of the checksum is wrong

Will be raised when a new born follower submits a wrong checksum

Will be raised when none of the agency servers can be connected to.

Will be raised when a DB server in a cluster receives a HTTP request without a coordinator header.

Will be raised when a coordinator in a cluster cannot lock the Plan hierarchy in the agency.

Will be raised when a coordinator in a cluster tries to create a collection and the collection ID already exists.

Will be raised when a coordinator in a cluster cannot create an entry for a new collection in the Plan hierarchy in the agency.

Will be raised when a coordinator in a cluster cannot read the Version entry in the Current hierarchy in the agency.

Will be raised when a coordinator in a cluster notices that some DBServers report problems when creating shards for a new collection.

Will be raised when a coordinator in a cluster runs into a timeout for some cluster wide operation.

Will be raised when a coordinator in a cluster cannot remove an entry for a collection in the Plan hierarchy in the agency.

Will be raised when a coordinator in a cluster cannot remove an entry for a collection in the Current hierarchy in the agency.

Will be raised when a coordinator in a cluster cannot create an entry for a new database in the Plan hierarchy in the agency.

Will be raised when a coordinator in a cluster notices that some DBServers report problems when creating databases for a new cluster wide database.

Will be raised when a coordinator in a cluster cannot remove an entry for a database in the Plan hierarchy in the agency.

Will be raised when a coordinator in a cluster cannot remove an entry for a database in the Current hierarchy in the agency.

Will be raised when a coordinator in a cluster cannot determine the shard that is responsible for a given document.

Will be raised when a coordinator in a cluster loses an HTTP connection to a DBserver in the cluster whilst transferring data.

Will be raised when a coordinator in a cluster finds that the _key attribute was specified in a sharded collection the uses not only _key as sharding attribute.

Will be raised if a coordinator in a cluster gets conflicting results from different shards, which should never happen.

Will be raised if a coordinator tries to find out which shard is responsible for a partial document, but cannot do this because not all sharding attributes are specified.

Will be raised if there is an attempt to update the value of a shard attribute.

Will be raised when there is an attempt to carry out an operation that is not supported in the context of a sharded collection.

Will be raised if there is an attempt to run a coordinator-only operation on a different type of node.

Will be raised if a coordinator or DBserver cannot read the Plan in the agency.

Will be raised if a coordinator cannot truncate all shards of a cluster collection.

Will be raised if the internal communication of the cluster for AQL produces an error.

Will be raised when a document with a given identifier or handle is unknown, or if the sharding attributes have been changed in a REPLACE operation in the cluster.

Will be raised if a cluster server at startup could not determine its own ID from the local info provided.

Will be raised if there is an attempt to run a DBserver-only operation on a different type of node.

Will be raised if a required db server can't be reached.

An endpoint couldn't be found

The structure in the agency is invalid

Will be raised if a collection needed during query execution is out of sync. This currently can only happen when using satellite collections

Will be raised when a coordinator in a cluster cannot create an entry for a new index in the Plan hierarchy in the agency.

Will be raised when a coordinator in a cluster cannot remove an index from the Plan hierarchy in the agency.

Will be raised if one tries to create a collection with a distributeShardsLike attribute which points to another collection that also has one.

Will be raised if one tries to drop a collection to which another collection points with its distributeShardsLike attribute.

Will be raised if one tries to create a collection which points to an unknown collection in its distributeShardsLike attribute.

Will be raised if one tries to create a collection with a replicationFactor greater than the available number of DBServers.

Will be raised if a follower that ought to be dropped could not be dropped in the agency (under Current).

Will be raised if a replication operation is refused by a shard leader.

Will be raised if a non-replication operation is refused by a shard follower.

Will be raised if a non-replication operation is refused by a former shard leader that has found out that it is no longer the leader.

Will be raised if after various retries an agency operation could not be performed successfully.

Will be raised if intended replication factor does not match that of the prototype shard given in ditributeShardsLike parameter.

Will be raised if intended number of shards does not match that of the prototype shard given in ditributeShardsLike parameter.

Will be raised when a running query is killed by an explicit admin command.

Will be raised when query is parsed and is found to be syntactically invalid.

Will be raised when an empty query is specified.

Will be raised when a runtime error is caused by the query.

Will be raised when a number is outside the expected range.

Will be raised when an invalid variable name is used.

Will be raised when a variable gets re-assigned in a query.

Will be raised when an unknown variable is used or the variable is undefined the context it is used.

Will be raised when a read lock on the collection cannot be acquired.

Will be raised when the number of collections in a query is beyond the allowed value.

Will be raised when a document attribute is re-assigned.

Will be raised when an undefined function is called.

Will be raised when the number of arguments used in a function call does not match the expected number of arguments for the function.

Will be raised when the type of an argument used in a function call does not match the expected argument type.

Will be raised when an invalid regex argument value is used in a call to a function that expects a regex.

Will be raised when the structure of bind parameters passed has an unexpected format.

Will be raised when a bind parameter was declared in the query but the query is being executed with no value for that parameter.

Will be raised when a value gets specified for an undeclared bind parameter.

Will be raised when a bind parameter has an invalid value or type.

Will be raised when a non-boolean value is used in a logical operation.

Will be raised when a non-numeric value is used in an arithmetic operation.

Will be raised when there is an attempt to divide by zero.

Will be raised when a non-array operand is used for an operation that expects an array argument operand.

Will be raised when the function FAIL() is called from inside a query.

Will be raised when a geo restriction was specified but no suitable geo index is found to resolve it.

Will be raised when a fulltext query is performed on a collection without a suitable fulltext index.

Will be raised when a value cannot be converted to a date.

Will be raised when an AQL query contains more than one data-modifying operation.

Will be raised when an AQL query contains an invalid aggregate expression.

Will be raised when an AQL data-modification query contains options that cannot be figured out at query compile time.

Will be raised when an AQL data-modification query contains an invalid options specification.

Will be raised when a collection is used as an operand in an AQL expression.

Will be raised when a dynamic function call is made to a function that cannot be called dynamically.

Will be raised when collection data are accessed after a data-modification operation.

Will be raised when a user function with an invalid name is registered.

Will be raised when a user function is registered with invalid code.

Will be raised when a user function is accessed but not found.

Will be raised when a user function throws a runtime exception.

Will be raised when an HTTP API for a query got an invalid JSON object.

Will be raised when an Id of a query is not found by the HTTP API.

Will be raised when an Id of a query is found by the HTTP API but the query is in use.

Will be raised when a cursor is requested via its id but a cursor with that id cannot be found.

Will be raised when a cursor is requested via its id but a concurrent request is still using the cursor.

Will be raised when a wrong usage of transactions is detected. this is an internal error and indicates a bug in ArangoDB.

Will be raised when transactions are nested.

Will be raised when a collection is used in the middle of a transaction but was not registered at transaction start.

Will be raised when a disallowed operation is carried out in a transaction.

Will be raised when a transaction was aborted.

Will be raised when an invalid user name is used.

Will be raised when an invalid password is used.

Will be raised when a user name already exists.

Will be raised when a user name is updated that does not exist.

Will be raised when the user must change his password.

Will be raised when an invalid service name is specified.

Will be raised when an invalid mount is specified.

Will be raised when a service download from the central repository failed.

Will be raised when a service upload from the client to the ArangoDB server failed.

can not init a LDAP connection

can not set a LDAP option

can not bind to a LDAP server

can not unbind from a LDAP server

can not search the LDAP server

can not star a TLS LDAP session

LDAP didn't found any objects with the specified search query

LDAP found zero ore more than one user

LDAP found a user, but its not the desired one

cant distinguish a valid mode for provided ldap configuration

Will be raised when a task is created with an invalid id.

Will be raised when a task id is created with a duplicate id.

Will be raised when a task with the specified id could not be found.

Will be raised when an invalid name is passed to the server.

Will be raised when an invalid name, vertices or edges is passed to the server.

Will be raised when an invalid vertex id is passed to the server.

Will be raised when the vertex could not be created.

Will be raised when the vertex could not be changed.

Will be raised when an invalid edge id is passed to the server.

Will be raised when the edge could not be created.

Will be raised when the edge could not be changed.

Will be raised when too many iterations are done in a graph traversal.

Will be raised when an invalid filter result is returned in a graph traversal.

An edge collection may only be used once in one edge definition of a graph.

Is already used by another graph in a different edge definition.

A graph name is required to create a graph.

The edge definition is malformed. It has to be an array of objects.

A graph with this name could not be found.

A graph with this name already exists.

The specified vertex collection does not exist or is not part of the graph.

The collection is not a vertex collection.

Vertex collection not in orphan collection of the graph.

The collection is already used in an edge definition of the graph.

The edge collection is not used in any edge definition of the graph.

The collection is not an ArangoCollection.

Collection _graphs does not exist.

Invalid example type. Has to be String, Array or Object.

Invalid example type. Has to be Array or Object.

Invalid number of arguments. Expected:

Invalid parameter type.

Invalid id

The collection is already used in the orphans of the graph.

The specified edge collection does not exist or is not part of the graph.

The requested graph has no edge collections.

Will be raised when an invalid/unknown session id is passed to the server.

Will be raised when a session is expired.

This error should not happen.

Will be raised when the client could not connect to the server.

Will be raised when the client could not write data.

Will be raised when the client could not read data.

Request was aborted.

Communication was disabled.

The service manifest file is not well-formed JSON.

The service manifest contains invalid values.

The service folder or bundle does not exist on this server.

The local service bundle does not match the checksum in the database.

The service options contain invalid values.

The service mountpath contains invalid characters.

No service found at the given mountpath.

The service is missing configuration or dependencies.

A service already exists at the given mountpath.

The service directory does not contain a manifest file.

The service options are not well-formed JSON.

The source path does not match a file or directory.

The source path could not be resolved.

The service does not have a script with this name.

The module path could not be resolved.

The module could not be parsed because of a syntax error.

Failed to invoke the module in its context.

The requested collection needs to be smart, but it ain't

The given document does not have the smart graph attribute set.

This smart collection cannot be dropped, it dictates sharding in the graph.

In a smart vertex collection _key must be prefixed with the value of the smart graph attribute.

The given smartGraph attribute is illegal and connot be used for sharding. All system attributes are forbidden.

Inquiry handles a list of string clientIds: [,...].

The inform message in the agency must be an object.

The inform message in the agency must contain a uint parameter 'term'.

The inform message in the agency must contain a string parameter 'id'.

The inform message in the agency must contain an array 'active'.

The inform message in the agency must contain an object 'pool'.

The inform message in the agency must contain an object 'min ping'.

The inform message in the agency must contain an object 'max ping'.

The inform message in the agency must contain an object 'timeoutMult'.

Inquiry by clientId failed

Will be raised if the readDB or the spearHead cannot be rebuilt from the replicated log.

General supervision failure.

Will be returned if a shutdown is in progress.

Will be returned if a queue with this name does not exist.

Will be returned if a queue with this name is full.

ArangoDB returned an error code that has not been added to this enum yet.

Methods

impl ErrorCode
[src]

[src]

Returns the ErrorCode variant that is assigned to the given u16 value.

[src]

Returns an integer that is assigned to the enum variant of this error code.

[src]

Returns a short description of the error code. It describes the meaning of the error code and when it can occur.

Trait Implementations

impl Clone for ErrorCode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ErrorCode
[src]

impl PartialEq for ErrorCode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ErrorCode
[src]

impl Hash for ErrorCode
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ErrorCode
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for ErrorCode
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialOrd for ErrorCode
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for ErrorCode
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl<'de> Deserialize<'de> for ErrorCode
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for ErrorCode

impl Sync for ErrorCode