djblets.integrations.errors¶
Exceptions for integrations.
- exception IntegrationRegistrationError[source]¶
Bases:
IntegrationError
Error registering an integration.
- __annotations__ = {}¶
- exception IntegrationAlreadyRegisteredError(integration_id: str)[source]¶
Bases:
IntegrationRegistrationError
An integration was already registered.
- __init__(integration_id: str) None [source]¶
Initialize the error.
- Parameters:
integration_id (
str
) – The ID of the integration that was already registered.
- __annotations__ = {}¶
- exception IntegrationNotRegisteredError(integration_id: Optional[str])[source]¶
Bases:
IntegrationError
Error indicating that the given integration wasn’t registered.
- __init__(integration_id: Optional[str]) None [source]¶
Initialize the error.
- Parameters:
integration_id (
str
) – The ID of the integration that has not been registered.
- __annotations__ = {}¶