Skip to main content
All VectoriaDB errors extend VectoriaError and include machine-readable code values.

Error Types

Importing Errors

VectoriaError

Base class for all VectoriaDB errors.

VectoriaNotInitializedError

Thrown when operations are attempted before initialization.

Example


DocumentValidationError

Thrown when document validation fails.

DocumentNotFoundError

Thrown when a document ID doesn’t exist.

DocumentExistsError

Thrown when adding a document with an existing ID.

DuplicateDocumentError

Thrown when duplicates are found in batch operations.

QueryValidationError

Thrown when search parameters are invalid.

EmbeddingError

Thrown when embedding generation fails.

StorageError

Thrown when storage operations fail.

ConfigurationError

Thrown when configuration is invalid.

Error Handling Pattern

Common Errors

Error solutions

FAQ

Frequently asked questions