Error implements the [error] interface for *ParseError.
()
| 132 | |
| 133 | // Error implements the [error] interface for *ParseError. |
| 134 | func (e *ParseError) Error() (msg string) { |
| 135 | return fmt.Sprintf("parsing error at index %d: %s", e.Idx, e.err) |
| 136 | } |
| 137 | |
| 138 | // type check |
| 139 | var _ errors.Wrapper = (*ParseError)(nil) |
no outgoing calls