Skip to content

Exceptions

arcticdb.DataError

Return value for batch methods which fail in some way.

ATTRIBUTE DESCRIPTION
symbol

Read or modified symbol.

TYPE: str

version_request_type

For operations that support as_of, the type of version query provided. None otherwise.

TYPE: Optional[VersionRequestType]

version_request_data

For operations that support as_of, the value provided in the version query: None - Operation does not support as_of, or latest version was requested str - The name of the snapshot provided to as_of int - The specific version requested if version_request_type == VersionRequestType::SPECIFIC, or nanoseconds since epoch if version_request_type == VersionRequestType::TIMESTAMP

TYPE: Optional[Union[str, int]]

error_code

For the most common error types, the ErrorCode is included here. e.g. ErrorCode.E_NO_SUCH_VERSION if the version requested has been deleted Please see the Error Messages section of the docs for more detail.

TYPE: Optional[ErrorCode]

error_category

If error_code is provided, the category is also provided. e.g. ErrorCategory.MISSING_DATA if error_code is ErrorCode.E_NO_SUCH_VERSION

TYPE: Optional[ErrorCategory]

exception_string

The string associated with the exception that was originally raised.

TYPE: str

arcticdb.version_store.library.ArcticDuplicateSymbolsInBatchException

Bases: ArcticInvalidApiUsageException

Exception indicating that duplicate symbols were passed to a batch method of this module.

arcticdb.version_store.library.ArcticInvalidApiUsageException

Bases: ArcticException

Exception indicating an invalid call made to the Arctic API.

arcticdb.version_store.library.ArcticUnsupportedDataTypeException

Bases: ArcticInvalidApiUsageException

Exception indicating that a method does not support the type of data provided.