10 releases (4 breaking)
0.5.7 | Mar 12, 2024 |
---|---|
0.5.6 | Mar 12, 2024 |
0.4.0 | Jan 9, 2024 |
0.3.1 | Nov 26, 2023 |
0.0.2 | Sep 28, 2023 |
#272 in Development tools
77,741 downloads per month
Used in 23 crates
(17 directly)
690KB
15K
SLoC
biome_diagnostics
This crate contains the types and utility functions used to implement errors and diagnostics in the Biome 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 biome_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 biome_diagnostics::prelude::*;
to
automatically bring all these traits into the ambient context
Dependencies
~9–18MB
~243K SLoC