oxc_diagnostics 0.1.0

Oxc is a JavaScript / TypeScript tooling suite.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Diagnostics Wrapper
//! Exports `thiserror` and `miette`

mod graphic_reporter;
mod graphical_theme;

pub use graphic_reporter::{GraphicalReportHandler, GraphicalTheme};
pub use miette;
pub use thiserror;

pub type Error = miette::Error;
pub type Severity = miette::Severity;
pub type Report = miette::Report;

pub type Result<T> = std::result::Result<T, Error>;