1// Package git provides Git service operations and utilities.
2package git
3
4import "errors"
5
6var (
7 // ErrNotAuthed represents unauthorized access.
8 ErrNotAuthed = errors.New("you are not authorized to do this")
9
10 // ErrSystemMalfunction represents a general system error returned to clients.
11 ErrSystemMalfunction = errors.New("something went wrong")
12
13 // ErrInvalidRepo represents an attempt to access a non-existent repo.
14 ErrInvalidRepo = errors.New("invalid repo")
15
16 // ErrInvalidRequest represents an invalid request.
17 ErrInvalidRequest = errors.New("invalid request")
18
19 // ErrMaxConnections represents a maximum connection limit being reached.
20 ErrMaxConnections = errors.New("too many connections, try again later")
21
22 // ErrTimeout is returned when the maximum read timeout is exceeded.
23 ErrTimeout = errors.New("I/O timeout reached")
24)