aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/common.go
diff options
context:
space:
mode:
authorChris Dostert <chrisdostert@users.noreply.github.com>2017-04-10 09:55:18 -0700
committerMáximo Cuadros <mcuadros@gmail.com>2017-04-10 18:55:18 +0200
commit3daede53835e8572b2957a016f068781db646567 (patch)
tree73ceb5e9f1eb99181db655de472bbd8e8540a687 /plumbing/transport/common.go
parent777dcd5647ffb263a8bbf3887232ee207138468a (diff)
downloadgo-git-3daede53835e8572b2957a016f068781db646567.tar.gz
plumbing: transport, handle 403 in http transport
Diffstat (limited to 'plumbing/transport/common.go')
-rw-r--r--plumbing/transport/common.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plumbing/transport/common.go b/plumbing/transport/common.go
index 3fcdef2..d3cfe21 100644
--- a/plumbing/transport/common.go
+++ b/plumbing/transport/common.go
@@ -27,7 +27,8 @@ import (
var (
ErrRepositoryNotFound = errors.New("repository not found")
ErrEmptyRemoteRepository = errors.New("remote repository is empty")
- ErrAuthorizationRequired = errors.New("authorization required")
+ ErrAuthenticationRequired = errors.New("authentication required")
+ ErrAuthorizationFailed = errors.New("authorization failed")
ErrEmptyUploadPackRequest = errors.New("empty git-upload-pack given")
ErrInvalidAuthMethod = errors.New("invalid auth method")
ErrAlreadyConnected = errors.New("session already established")