djblets.extensions.errors¶
-
exception
EnablingExtensionError
(message, load_error=None, needs_reload=False)[source]¶ Bases:
exceptions.Exception
An extension could not be enabled.
-
__init__
(message, load_error=None, needs_reload=False)[source]¶ Initialize the error.
Parameters: - message (unicode) – The detailed error message.
- load_error (unicode, optional) – An exception from the attempt to enable the extension, or other useful information to display to the user to help diagnose the problem.
- needs_reload (bool, optional) – Whether fixing this error requires reloading the extension.
-
-
exception
DisablingExtensionError
[source]¶ Bases:
exceptions.Exception
An extension could not be disabled.
-
exception
InstallExtensionError
(message, load_error=None)[source]¶ Bases:
exceptions.Exception
An extension could not be installed.
-
exception
InstallExtensionMediaError
(message, load_error=None)[source]¶ Bases:
djblets.extensions.errors.InstallExtensionError
An error indicating that extension media files could not be installed.