rics.translation.fetching.exceptions#
Errors and warnings related to fethcing.
Exceptions
Multiple translations for the same source received. |
|
Duplicate sources detected. |
|
Base class for |
|
Base class for |
|
|
Exception indicating that the |
An underlying implementation did something wrong. |
|
Caller requested unknown id(s). |
|
Caller requested unknown placeholder name(s). |
|
|
Caller requested unknown source(s). |
- exception FetcherWarning[source]#
Bases:
RuntimeWarningBase class for
Fetcherwarnings.
- exception FetcherError[source]#
Bases:
RuntimeErrorBase class for
Fetcherexceptions.
- exception ForbiddenOperationError(operation: str, reason: str = 'not supported by this fetcher.')[source]#
Bases:
FetcherErrorException indicating that the
Fetcherdoes not support an operation.
- exception ImplementationError[source]#
Bases:
FetcherErrorAn underlying implementation did something wrong.
- exception UnknownPlaceholderError[source]#
Bases:
FetcherErrorCaller requested unknown placeholder name(s).
- exception UnknownIdError[source]#
Bases:
FetcherErrorCaller requested unknown id(s).
- exception UnknownSourceError(unknown_sources: Iterable, sources: Iterable)[source]#
Bases:
FetcherErrorCaller requested unknown source(s).
- exception DuplicateSourceWarning[source]#
Bases:
FetcherWarningDuplicate sources detected.
- exception DuplicateSourceError[source]#
Bases:
FetcherErrorMultiple translations for the same source received.