Expand description
Structured error types and formatting for StyleX diagnostics.
Provides StyleXError and helper functions/macros that produce clean,
branded [StyleX] <message> output on both stderr and NAPI boundaries.
Structs§
- StyleX
Error - Structured error for all user-facing StyleX diagnostics.
- Suppress
Panic Stderr - RAII guard that suppresses panic-hook stderr output for its lifetime.
Constants§
Functions§
- format_
panic_ message - Extract a plain-text error message from a caught panic payload.
- is_
panic_ stderr_ suppressed - Returns
truewhile aSuppressPanicStderrguard is alive on this thread. - strip_
ansi 🔒 - Strip ANSI escape sequences from a string.