init
This commit is contained in:
commit
38355d2442
9083 changed files with 1225834 additions and 0 deletions
34
.venv/lib/python3.8/site-packages/rich/errors.py
Normal file
34
.venv/lib/python3.8/site-packages/rich/errors.py
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
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."""
|
||||
Loading…
Add table
Add a link
Reference in a new issue