summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r--include/git2/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h
index e959ffd8a..6fce8ac65 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -50,6 +50,7 @@ typedef enum {
GIT_EUNCOMMITTED = -22, /**< Uncommitted changes in index prevented operation */
GIT_EDIRECTORY = -23, /**< The operation is not valid for a directory */
GIT_EMERGECONFLICT = -24, /**< A merge conflict exists and cannot continue */
+ GIT_ECANCELLED = -25, /**< The operation was canceled */
GIT_PASSTHROUGH = -30, /**< Internal only */
GIT_ITEROVER = -31, /**< Signals end of iteration with iterator */
@@ -100,6 +101,7 @@ typedef enum {
GITERR_REBASE,
GITERR_FILESYSTEM,
GITERR_PATCH,
+ GITERR_CANCELLATION,
} git_error_t;
/**