Use Go error type for parsing errors.