Returns an index into the input string of the position at which the error occurred, or -1 if this position is not known.
Returns: the error index
Diagram: Exceptions