()
| 15 | } |
| 16 | |
| 17 | func (e Error) NotFound() bool { |
| 18 | return IsErrSubmoduleNotExist(e.error) || |
| 19 | IsErrRevisionNotExist(e.error) |
| 20 | } |
| 21 | |
| 22 | // NewError wraps given error. |
| 23 | func NewError(err error) error { |
nothing calls this directly
no test coverage detected