FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit/example/raw-error.js at v0.0.2 · nodegit/nodegit · GitHub
nodegit
nodegit
Repository navigation
Code
Issues
344
(344)
Pull requests
21
(21)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nodegit
/
example
/
raw-error.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
7 lines (6 loc) · 156 Bytes
Breadcrumbs
nodegit
/
example
/
raw-error.js
Copy path
File metadata and controls
7 lines (6 loc) · 156 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
var
git2
=
require
(
'../lib'
)
.
raw
;
var
error
=
new
git2
.
Error
(
)
;
// Valid
console
.
log
(
error
.
strError
(
0
)
)
;
// Invalid
console
.
log
(
error
.
strError
(
-
2
)
)
;
Back
|
FazBrowse Home
|
New Git URL