In an ErrorList, an error is represented by an *Error. The position Pos, if valid, points to the beginning of the offending token, and the error condition is described by Msg.
See also:
Alias
alias for
go._internal.go_.scanner.Error