Skip to main content

Module errors

Module errors 

Source
Expand description

Error types.

Port of the exceptions in upstream rich/errors.py. As more of the library is ported, additional variants are added here rather than scattering ad-hoc error types across modules.

Enums§

RichError
Errors produced while parsing colors, styles, or markup.

Type Aliases§

Result
Convenience alias mirroring the subset of rich that raises on bad input.