Skip to content

errors

Module for PyCelonis specific error classes.

This module contains all PyCelonis specific error classes used throughout the package.

Typical usage example:

```python
raise PyCelonisError("This is an error in PyCelonis")
raise PyCelonisLoadInProgressError()
```

PyCelonisLoadInProgressError

PyCelonisLoadInProgressError()

Bases: PyCelonisError

Raised when data model reload is already in progress.

PyCelonisExecutionInProgressError

PyCelonisExecutionInProgressError()

Bases: PyCelonisError

Raised when job execution is already in progress.

PyCelonisDataPushJobNotNew

PyCelonisDataPushJobNotNew()

Bases: PyCelonisError

Raised when data push job execution is already in progress.

PyCelonisReloadFailedError

PyCelonisReloadFailedError(load_status, message)

Bases: PyCelonisError

Raised when data model reload failed.

PyCelonisExecutionFailedError

PyCelonisExecutionFailedError(error_message)

Bases: PyCelonisError

Raised when job execution failed.

PyCelonisDataPushExecutionFailedError

PyCelonisDataPushExecutionFailedError(status, logs)

Bases: PyCelonisError

Raised when data push job execution failed.

PyCelonisNotSupportedError

Bases: PyCelonisError

Raised when method is not supported.

PyCelonisNodeAlreadyExistsError

Bases: PyCelonisError

Raised when node key already exists.

PyCelonisTableAlreadyExistsError

PyCelonisTableAlreadyExistsError(table_name)

Bases: PyCelonisError

Raised when table already exists in data pool.

PyCelonisDataExportFailedError

PyCelonisDataExportFailedError(export_status, message)

Bases: PyCelonisError

Raised when data export failed.

PyCelonisDataExportRunningError

PyCelonisDataExportRunningError()

Bases: PyCelonisError

Raised when data export is still in progress.

PyCelonisQueryResolutionError

PyCelonisQueryResolutionError(message)

Bases: PyCelonisError

Raised when analysis query resolution failed.

PyCelonisDataExportNotEnabledError

PyCelonisDataExportNotEnabledError()

Bases: PyCelonisError

Raised when data export not enabled.