Add error code matching GIT_EAUTH for authentication failures

This commit is contained in:
Mike Edgar 2015-06-07 19:20:43 -04:00
parent 53c158fbd7
commit af7739787c
1 changed files with 2 additions and 0 deletions

2
git.go
View File

@ -87,6 +87,8 @@ const (
ErrPassthrough ErrorCode = C.GIT_PASSTHROUGH
// Signals end of iteration with iterator
ErrIterOver ErrorCode = C.GIT_ITEROVER
// Authentication failed
ErrAuth ErrorCode = C.GIT_EAUTH
)
var (