1package git
2
3import "errors"
4
5// ErrNotAuthed represents unauthorized access.
6var ErrNotAuthed = errors.New("you are not authorized to do this")
7
8// ErrSystemMalfunction represents a general system error returned to clients.
9var ErrSystemMalfunction = errors.New("something went wrong")
10
11// ErrInvalidRepo represents an attempt to access a non-existent repo.
12var ErrInvalidRepo = errors.New("invalid repo")
13
14// ErrMaxConns represents a maximum connection limit being reached.
15var ErrMaxConns = errors.New("too many connections, try again later")
16
17// ErrMaxTimeout is returned when the maximum read timeout is exceeded.
18var ErrMaxTimeout = errors.New("git: max timeout reached")