/// Constructs an error with the provided message at the provided position.
Constructs an error with the provided message at the provided position.
Constructs an error with the provided message at the provided position .
pub(crate) fn new<S>(pos: usize, message: S) -> ParserError
    where
        S: Into<String>,
    {
        ParserError {
            pos,
            message: message.into(),
        }
    }
pub ( crate ) fn new < S > ( pos : usize , message : S ) -> ParserError where S : Into < String > , { ParserError { pos , message : message . into ( ) , } }
Constructs an error with the provided message at the provided position.
Constructs an error with the provided message at the provided position .
pos
usize
message
S