pub trait WithLocation: Error + Sized {
// Provided method
fn with_location<L: SourceLoc>(self, location: L) -> SourceError<Self> { ... }
}
Provided Methods§
sourcefn with_location<L: SourceLoc>(self, location: L) -> SourceError<Self>
fn with_location<L: SourceLoc>(self, location: L) -> SourceError<Self>
Creates a SourceError
wrapper.
Object Safety§
This trait is not object safe.