pub type SourceResult<T> = Result<T, EcoVec<SourceDiagnostic>>;
Expand description
A result that can carry multiple source errors.
Aliased Type§
pub enum SourceResult<T> {
Ok(T),
Err(EcoVec<SourceDiagnostic>),
}
Variants§
Trait Implementations§
Source§impl<T: IntoValue> IntoResult for SourceResult<T>
impl<T: IntoValue> IntoResult for SourceResult<T>
Source§fn into_result(self, _: Span) -> SourceResult<Value>
fn into_result(self, _: Span) -> SourceResult<Value>
Cast this type into a value.