errors.go
1package errors
2
3import "fmt"
4
5var (
6 // ErrUnauthorized is returned when the user is not authorized to perform action.
7 ErrUnauthorized = fmt.Errorf("Unauthorized")
8 // ErrRepoNotFound is returned when the repo is not found.
9 ErrRepoNotFound = fmt.Errorf("Repository not found")
10 // ErrFileNotFound is returned when the file is not found.
11 ErrFileNotFound = fmt.Errorf("File not found")
12)