Skip to content

rs_rich.errors

Generated from the type stubs by scripts/gen_python_api.py; do not edit.

rich.errors: the exceptions rs_rich raises, with Rich's hierarchy.

ConsoleError

Bases: Exception

The base of rs_rich's own errors, as rich.errors.ConsoleError.

LiveError

Bases: ConsoleError

An error in a Live display.

MarkupError

Bases: ConsoleError

Console markup that does not parse, such as a closing tag with no opener.

MissingStyle

Bases: StyleError

No style of that name, and the name does not parse as a style.

NoAltScreen

Bases: ConsoleError

The alternate screen was required.

NotRenderableError

Bases: ConsoleError

An object that is not a str, a Segment or a renderable.

StyleError

Bases: Exception

An error in styles.

StyleStackError

Bases: ConsoleError

The style stack is invalid.

StyleSyntaxError

Bases: ConsoleError

A style definition that does not parse.