Source code for dazzler.errors
[docs]class DazzlerError(Exception):
"""Base Dazzler error"""
[docs]class PackageConflictError(DazzlerError):
"""A conflict in package name was detected."""
[docs]class PageConflictError(DazzlerError):
"""Duplicate page name or url detected."""
[docs]class ServerStartedError(DazzlerError):
"""Action require the server to be uninitialized."""
[docs]class BindingError(DazzlerError):
"""Error in the binding system"""
[docs]class NoInstanceFoundError(DazzlerError):
"""No instance was found when the application is run by command line."""
[docs]class GetAspectError(BindingError):
"""Error while retrieving an aspect from the frontend."""
[docs]class TriggerLoopError(BindingError):
"""Setting the same aspect that triggered results in infinite loop."""
[docs]class RequirementError(DazzlerError):
"""An error in the requirement system"""
[docs]class InvalidRequirementError(RequirementError):
"""No internal file or external file was given."""
[docs]class InvalidRequirementKindError(RequirementError):
"""Don't know what to do with this kind of requirements."""
[docs]class RequirementNotFoundError(RequirementError):
"""The requirement file did not exist."""
[docs]class SessionError(DazzlerError):
"""Error related to session system."""
[docs]class AuthError(DazzlerError):
"""Error related to authentication system."""
[docs]class ElectronBuildError(DazzlerError):
"""Error from building the electron binary"""