at Position
Creates a new parse exception for situations in which the position of the error is known.
Return
the parser exception.
Parameters
error Message
the user error message.
log Message
the original log message.
position
the index of the invalid character in the log message.