We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcb8922 commit 61392cbCopy full SHA for 61392cb
lib/error.js
@@ -17,7 +17,11 @@ var GitError = function(object) {
17
return error;
18
};
19
20
-// Add libgit2 error codes to git.error object
+/**
21
+ * Add libgit2 error codes to git.error object.
22
+ *
23
+ * Refer to vendor/libgit2/include/git2/errors.h for error code definitions.
24
+ */
25
for (var errorName in git.raw.Error.codes) {
26
GitError[errorName] = git.raw.Error.codes[errorName];
27
}
0 commit comments