diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-10 22:48:03 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-22 22:30:37 +0000 |
commit | a27a4de6f8003961d38958893c6c637395c7cc04 (patch) | |
tree | 9156b0eae8ff19b7e2e0bb8eb76d38ce35baac5c /docs/conventions.md | |
parent | 00c66dfd3b531c63e6e5ec99fe94a7ceedc89173 (diff) | |
download | libgit2-ethomson/giterr.tar.gz |
errors: update docs for giterr changesethomson/giterr
Diffstat (limited to 'docs/conventions.md')
-rw-r--r-- | docs/conventions.md | 4 |
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. |