1 unstable release
0.0.1 | Apr 5, 2023 |
---|
#12 in #rome
75 downloads per month
Used in 9 crates
(6 directly)
185KB
4.5K
SLoC
rome_diagnostics
This crate contains the types and utility functions used to implement errors and diagnostics in the Rome codebase
Acknowledgement
This crate was initially forked from rslint_errors. The design of the new Diagnostic
trait, Error
struct, Context
trait, and the Diagnostic
derive macro in rome_diagnostics_macros
are inspired by various fantastic crates in the Rust error handling space: miette, anyhow and thiserror
lib.rs
:
Anonymously re-exports all the traits declared by this module, this is
intended to be imported as use rome_diagnostics::prelude::*;
to
automatically bring all these traits into the ambient context
Dependencies
~7–17MB
~204K SLoC