(path string)
| 77 | } |
| 78 | |
| 79 | func ErrorReadFile(path string) error { |
| 80 | return errors.WithStack(&errors.Error{ |
| 81 | Kind: ErrReadFile, |
| 82 | Message: fmt.Sprintf("%s: unable to read file", path), |
| 83 | }) |
| 84 | } |
| 85 | |
| 86 | func ErrorFileAlreadyExists(path string) error { |
| 87 | return errors.WithStack(&errors.Error{ |
no test coverage detected