1package proto
2
3import (
4 "errors"
5)
6
7var (
8 // ErrUnauthorized is returned when the user is not authorized to perform action.
9 ErrUnauthorized = errors.New("unauthorized")
10 // ErrFileNotFound is returned when the file is not found.
11 ErrFileNotFound = errors.New("file not found")
12 // ErrRepoNotFound is returned when a repository does not exist.
13 ErrRepoNotFound = errors.New("repository not found")
14 // ErrRepoExist is returned when a repository already exists.
15 ErrRepoExist = errors.New("repository already exists")
16 // ErrUserNotFound is returned when a user does not exist.
17 ErrUserNotFound = errors.New("user does not exist")
18)