errors.go
1package git
2
3import "errors"
4
5var (
6 // ErrFileNotFound is returned when a file is not found.
7 ErrFileNotFound = errors.New("file not found")
8 // ErrDirectoryNotFound is returned when a directory is not found.
9 ErrDirectoryNotFound = errors.New("directory not found")
10 // ErrReferenceNotFound is returned when a reference is not found.
11 ErrReferenceNotFound = errors.New("reference not found")
12)