1package proto23import (4 "errors"5)67var (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 is not found.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 is not found.17 ErrUserNotFound = errors.New("user not found")18 // ErrTokenNotFound is returned when a token is not found.19 ErrTokenNotFound = errors.New("token not found")20 // ErrTokenExpired is returned when a token is expired.21 ErrTokenExpired = errors.New("token expired")22 // ErrCollaboratorNotFound is returned when a collaborator is not found.23 ErrCollaboratorNotFound = errors.New("collaborator not found")24 // ErrCollaboratorExist is returned when a collaborator already exists.25 ErrCollaboratorExist = errors.New("collaborator already exists")26)