djblets.extensions.errors¶
Error classes for extensions.
- exception EnablingExtensionError(message, load_error=None, needs_reload=False)¶
Bases:
ExceptionAn extension could not be enabled.
- __init__(message, load_error=None, needs_reload=False)¶
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 InstallExtensionError(message, load_error=None)¶
Bases:
ExceptionAn extension could not be installed.
- __init__(message, load_error=None)¶
- exception InstallExtensionMediaError(message, load_error=None)¶
Bases:
InstallExtensionErrorAn error indicating that extension media files could not be installed.