mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-22 15:54:26 +00:00
4a0932b5d3
* Update ffsubsync to 0.4.11 * Update srt to 3.4.1
34 lines
642 B
Python
34 lines
642 B
Python
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."""
|