Error implements the error interface and can represents multiple errors that occur in the course of a single decode.
| 10 | // Error implements the error interface and can represents multiple |
| 11 | // errors that occur in the course of a single decode. |
| 12 | type Error struct { |
| 13 | Errors []string |
| 14 | } |
| 15 | |
| 16 | func (e *Error) Error() string { |
| 17 | points := make([]string, len(e.Errors)) |
nothing calls this directly
no outgoing calls
no test coverage detected