Skip to content

ErrorPanel

Base classes

Name Children Inherits
Static
textual.widgets._static
A widget to display simple static content, or use as a base class for more complex widgets.

⋔ Inheritance diagram

graph TD
  107846721952272["session.ErrorPanel"]
  107846719030608["_static.Static"]
  107846718477920["widget.Widget"]
  107846718489888["dom.DOMNode"]
  107846718374032["message_pump.MessagePump"]
  137699722799616["builtins.object"]
  107846719030608 --> 107846721952272
  107846718477920 --> 107846719030608
  107846718489888 --> 107846718477920
  107846718374032 --> 107846718489888
  137699722799616 --> 107846718374032

🛈 DocStrings

Bases: Static

A problem with the agent (it failed to start, crashed, is unsupported, ...).

Source code in src/acptui/ui/screens/session.py
class ErrorPanel(Static):
    """A problem with the agent (it failed to start, crashed, is unsupported, ...)."""

    DEFAULT_CSS = """
    ErrorPanel {
        height: auto;
        border: round $error;
        border-title-color: $error;
        padding: 0 1;
        margin: 1 0;
    }
    """

:fa-brands-github: Show source on GitHub