IsFileNotFoundError check is file not found error
(e error)
| 20 | |
| 21 | // IsFileNotFoundError check is file not found error |
| 22 | func IsFileNotFoundError(e error) bool { |
| 23 | _, ok := e.(FileNotFoundError) |
| 24 | return ok |
| 25 | } |
| 26 | |
| 27 | // NewFileNotFoundError new a file not found error |
| 28 | func NewFileNotFoundError(fileName string) error { |
no outgoing calls
no test coverage detected