Trait moore_common::errors::EmitError
source · [−]pub trait EmitError {
type Output;
fn emit<C: DiagEmitter>(self, ctx: C) -> Self::Output;
}
Expand description
Emit errors as diagnostics.
Useful if implemented on the error types returned from results. Allows these
results to be emitted as diagnostics on-the-fly and converted to a ()
error type result.