Skip to main content
Version: 1.2.2

ModuleReplaceError

ClassPrivateExceptionSource

class ModuleReplaceError(ImportError):
pass

Exception raised when replacing an existing lazy module.

Replacing an existing lazy module is not allowed, because this will cause the previously configured lazy module point to a not-existing "real" module.