11 releases
0.5.8 | Dec 18, 2024 |
---|---|
0.5.7 | Mar 12, 2024 |
0.4.0 | Jan 9, 2024 |
0.3.1 | Nov 26, 2023 |
0.0.2 | Sep 28, 2023 |
#139 in Web programming
48,604 downloads per month
Used in 25 crates
(17 directly)
720KB
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
~10–20MB
~264K SLoC