summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'git.go')
-rw-r--r--git.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/git.go b/git.go
index 5acff0d..d3def5e 100644
--- a/git.go
+++ b/git.go
@@ -45,6 +45,7 @@ const (
ErrClassRevert ErrorClass = C.GITERR_REVERT
ErrClassCallback ErrorClass = C.GITERR_CALLBACK
ErrClassRebase ErrorClass = C.GITERR_REBASE
+ ErrClassPatch ErrorClass = C.GITERR_PATCH
)
type ErrorCode int
@@ -109,6 +110,8 @@ const (
ErrPassthrough ErrorCode = C.GIT_PASSTHROUGH
// Signals end of iteration with iterator
ErrIterOver ErrorCode = C.GIT_ITEROVER
+ // Patch application failed
+ ErrApplyFail ErrorCode = C.GIT_EAPPLYFAIL
)
var (