FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Updated error documentation · nodegit/nodegit@61392cb · GitHub

Repository navigation

Commit 61392cb

Browse files
committed
Updated error documentation
1 parent fcb8922 commit 61392cb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎lib/error.js‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ var GitError = function(object) {
1717
return error;
1818
};
1919

20-
// Add libgit2 error codes to git.error object
20+
/**
21+
* Add libgit2 error codes to git.error object.
22+
*
23+
* Refer to vendor/libgit2/include/git2/errors.h for error code definitions.
24+
*/
2125
for (var errorName in git.raw.Error.codes) {
2226
GitError[errorName] = git.raw.Error.codes[errorName];
2327
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL