pub fn from_file<M, P>(
message: M,
path: P,
position: Position,
) -> Result<Error<String>>
Expand description
Creates an Error
with a message and path to source file a
along with the relative position of the error
Positions should be 1-based to align with what people see in their source file editors