Merge pull request #2715 from Textualize/fix-modes

Remove duplicated modes.
This commit is contained in:
Rodrigo Girão Serrão
2023-06-01 16:21:07 +01:00
committed by GitHub

View File

@@ -177,22 +177,6 @@ class ActiveModeError(ModeError):
"""Raised when attempting to remove the currently active mode."""
class ModeError(Exception):
"""Base class for exceptions related to modes."""
class InvalidModeError(ModeError):
"""Raised if there is an issue with a mode name."""
class UnknownModeError(ModeError):
"""Raised when attempting to use a mode that is not known."""
class ActiveModeError(ModeError):
"""Raised when attempting to remove the currently active mode."""
class CssPathError(Exception):
"""Raised when supplied CSS path(s) are invalid."""