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