ErrorWithLocation

Trait ErrorWithLocation 

Source
pub trait ErrorWithLocation: Display {
    // Required method
    fn location(&self) -> Location;
}
Expand description

Represents an error that has a location in the source code.

Required Methods§

Source

fn location(&self) -> Location

Returns the location of the error in the source code.

Implementations on Foreign Types§

Source§

impl ErrorWithLocation for Error

Implementors§