Expand description
Error types for farben markup tokenization and registry operations.
LexError covers failures during tokenization of markup strings like [bold red]text[/].
RegistryError covers failures in registry operations such as set_prefix and insert_style.
LexErrorDisplay wraps a LexError with the original input to produce compiler-style
diagnostic output with a caret pointing at the offending byte offset.
Structs§
- LexError
Display - Diagnostic formatter that renders a
LexErroralongside the original markup input.
Enums§
- LexError
- Errors produced during tokenization of a farben markup string.
- Registry
Error - Errors produced by registry operations (
set_prefix,insert_style).