NewError returns a new Error.
(path string, err error)
| 77 | |
| 78 | // NewError returns a new Error. |
| 79 | func NewError(path string, err error) *Error { |
| 80 | return &Error{ |
| 81 | Path: path, |
| 82 | Err: err, |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | // Error implements error. |
| 87 | func (e *Error) Error() string { |
no outgoing calls
no test coverage detected
searching dependent graphs…