summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-01-11 23:53:45 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2020-01-24 10:39:56 -0600
commite9cef7c4b16b2cb572ac19fcd39217f7934cfa99 (patch)
treeb847c846e79c815c329ea6e7b843bdbf6ef82c86 /include/git2/errors.h
parent7fd9b3f597d1910effd43149157d49127244a238 (diff)
downloadlibgit2-e9cef7c4b16b2cb572ac19fcd39217f7934cfa99.tar.gz
http: introduce GIT_ERROR_HTTPethomson/gssapi
Disambiguate between general network problems and HTTP problems in error codes.
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r--include/git2/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h
index 4e19f8925..370b6ac49 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -106,7 +106,8 @@ typedef enum {
GIT_ERROR_FILESYSTEM,
GIT_ERROR_PATCH,
GIT_ERROR_WORKTREE,
- GIT_ERROR_SHA1
+ GIT_ERROR_SHA1,
+ GIT_ERROR_HTTP
} git_error_t;
/**