Exceptions¶
-
exception
connector.exception.
ChannelNotFound
[source]¶ Bases:
connector.exception.ConnectorException
A channel could not be found
-
exception
connector.exception.
ConnectorException
[source]¶ Bases:
exceptions.RuntimeError
Base Exception for the connectors
-
exception
connector.exception.
FailedJobError
[source]¶ Bases:
connector.exception.JobError
A job had an error having to be resolved.
-
exception
connector.exception.
IDMissingInBackend
[source]¶ Bases:
connector.exception.JobError
The ID does not exist in the backend
-
exception
connector.exception.
InvalidDataError
[source]¶ Bases:
connector.exception.ConnectorException
Data Invalid
-
exception
connector.exception.
JobError
[source]¶ Bases:
connector.exception.ConnectorException
A job had an error
-
exception
connector.exception.
ManyIDSInBackend
[source]¶ Bases:
connector.exception.JobError
Unique key exists many times in backend
-
exception
connector.exception.
MappingError
[source]¶ Bases:
connector.exception.ConnectorException
An error occurred during a mapping transformation.
-
exception
connector.exception.
NetworkRetryableError
(msg, seconds=None, ignore_retry=False)[source]¶ Bases:
connector.exception.RetryableJobError
A network error caused the failure of the job, it can be retried later.
-
exception
connector.exception.
NoConnectorUnitError
[source]¶ Bases:
connector.exception.ConnectorException
No ConnectorUnit has been found
-
exception
connector.exception.
NoExternalId
(msg, seconds=None, ignore_retry=False)[source]¶ Bases:
connector.exception.RetryableJobError
No External ID found, it can be retried later.
-
exception
connector.exception.
NoSuchJobError
[source]¶ Bases:
connector.exception.JobError
The job does not exist.
-
exception
connector.exception.
NotReadableJobError
[source]¶ Bases:
connector.exception.JobError
The job cannot be read from the storage.
-
exception
connector.exception.
NothingToDoJob
[source]¶ Bases:
connector.exception.JobError
The Job has nothing to do.
-
exception
connector.exception.
RetryableJobError
(msg, seconds=None, ignore_retry=False)[source]¶ Bases:
connector.exception.JobError
A job had an error but can be retried.
The job will be retried after the given number of seconds. If seconds is empty, it will be retried according to the
retry_pattern
of the job or byconnector.queue.job.RETRY_INTERVAL
if nothing is defined.If
ignore_retry
is True, the retry counter will not be increased.