Varia's website
https://varia.zone
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
642 B
35 lines
642 B
4 days ago
|
class ConsoleError(Exception):
|
||
|
"""An error in console operation."""
|
||
|
|
||
|
|
||
|
class StyleError(Exception):
|
||
|
"""An error in styles."""
|
||
|
|
||
|
|
||
|
class StyleSyntaxError(ConsoleError):
|
||
|
"""Style was badly formatted."""
|
||
|
|
||
|
|
||
|
class MissingStyle(StyleError):
|
||
|
"""No such style."""
|
||
|
|
||
|
|
||
|
class StyleStackError(ConsoleError):
|
||
|
"""Style stack is invalid."""
|
||
|
|
||
|
|
||
|
class NotRenderableError(ConsoleError):
|
||
|
"""Object is not renderable."""
|
||
|
|
||
|
|
||
|
class MarkupError(ConsoleError):
|
||
|
"""Markup was badly formatted."""
|
||
|
|
||
|
|
||
|
class LiveError(ConsoleError):
|
||
|
"""Error related to Live display."""
|
||
|
|
||
|
|
||
|
class NoAltScreen(ConsoleError):
|
||
|
"""Alt screen mode was required."""
|