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