summaryrefslogtreecommitdiff
path: root/docs/conventions.md
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-10 22:48:03 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-22 22:30:37 +0000
commita27a4de6f8003961d38958893c6c637395c7cc04 (patch)
tree9156b0eae8ff19b7e2e0bb8eb76d38ce35baac5c /docs/conventions.md
parent00c66dfd3b531c63e6e5ec99fe94a7ceedc89173 (diff)
downloadlibgit2-ethomson/giterr.tar.gz
errors: update docs for giterr changesethomson/giterr
Diffstat (limited to 'docs/conventions.md')
-rw-r--r--docs/conventions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conventions.md b/docs/conventions.md
index c8a39dd2b..a017db11c 100644
--- a/docs/conventions.md
+++ b/docs/conventions.md
@@ -136,11 +136,11 @@ Check
[`include/git2/errors.h`](https://github.com/libgit2/libgit2/blob/development/include/git2/errors.h)
for the return codes already defined.
-In your implementation, use `giterr_set()` to provide extended error
+In your implementation, use `git_error_set()` to provide extended error
information to callers.
If a `libgit2` function internally invokes another function that reports an
-error, but the error is not propagated up, use `giterr_clear()` to prevent
+error, but the error is not propagated up, use `git_error_clear()` to prevent
callers from getting the wrong error message later on.