Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
73e31f6f
Commit
73e31f6f
authored
Aug 20, 2018
by
Johan Abildskov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rephrase wording on giterr_last documentation
parent
3602b573
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
docs/error-handling.md
+5
-2
No files found.
docs/error-handling.md
View file @
73e31f6f
...
...
@@ -117,8 +117,11 @@ The public error API
the last error. This may return NULL if no error has occurred.
Otherwise this should return a
`git_error`
object indicating the class
of error and the error message that was generated by the library.
Do not use this method unless you received an error, it will
lead to undefined behaviour.
Do not use this function unless the prior call to a libgit2 API
returned an error, as it can give misleading results.
libgit2's error strings are not cleared aggressively,
and this function may return an error string that reflects a prior error,
possibly even reflecting internal state.
The last error is stored in thread-local storage when libgit2 is
compiled with thread support, so you do not have to worry about another
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment