Module textual.errors
Expand source code
from __future__ import annotations
class TextualError(Exception):
"""Base class for Textual errors."""
class NoWidget(TextualError):
"""Specified widget was not found."""
class RenderError(TextualError):
"""An object could not be rendered."""
class DuplicateKeyHandlers(TextualError):
"""More than one handler for a single key press. E.g. key_ctrl_i and key_tab handlers both found on one object."""
Classes
class DuplicateKeyHandlers (*args, **kwargs)
-
More than one handler for a single key press. E.g. key_ctrl_i and key_tab handlers both found on one object.
Expand source code
class DuplicateKeyHandlers(TextualError): """More than one handler for a single key press. E.g. key_ctrl_i and key_tab handlers both found on one object."""
Ancestors
- TextualError
- builtins.Exception
- builtins.BaseException
class NoWidget (*args, **kwargs)
-
Specified widget was not found.
Expand source code
class NoWidget(TextualError): """Specified widget was not found."""
Ancestors
- TextualError
- builtins.Exception
- builtins.BaseException
class RenderError (*args, **kwargs)
-
An object could not be rendered.
Expand source code
class RenderError(TextualError): """An object could not be rendered."""
Ancestors
- TextualError
- builtins.Exception
- builtins.BaseException
class TextualError (*args, **kwargs)
-
Base class for Textual errors.
Expand source code
class TextualError(Exception): """Base class for Textual errors."""
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses