1class ConsoleError(Exception):
2    """An error in console operation."""
3
4
5class StyleError(Exception):
6    """An error in styles."""
7
8
9class StyleSyntaxError(ConsoleError):
10    """Style was badly formatted."""
11
12
13class MissingStyle(StyleError):
14    """No such style."""
15
16
17class StyleStackError(ConsoleError):
18    """Style stack is invalid."""
19
20
21class NotRenderableError(ConsoleError):
22    """Object is not renderable."""
23
24
25class MarkupError(ConsoleError):
26    """Markup was badly formatted."""
27
28
29class LiveError(ConsoleError):
30    """Error related to Live display."""
31
32
33class NoAltScreen(ConsoleError):
34    """Alt screen mode was required."""
35