fa45d8aa5f
- health_checklist.json: 192.168.1.122→node122
- ocr_client.py: docstring IP→node122
- docs/market-data-requirements.md: IP→node122
- 所有API调用通过ProxyHandler({})绕过系统代理
Privoxy对node122:18003返回500,直连正常
35 lines
642 B
Python
35 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."""
|