FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit/src/error.h 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
/
src
/
error.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
31 lines (22 loc) · 587 Bytes
Breadcrumbs
nodegit
/
src
/
error.h
Copy path
File metadata and controls
executable file
·
31 lines (22 loc) · 587 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>
*/
#
ifndef
ERROR_H
#
define
ERROR_H
#
include
<
v8.h
>
#
include
<
node.h
>
#
include
<
node_events.h
>
#
include
"
../vendor/libgit2/include/git2.h
"
using
namespace
v8
;
using
namespace
node
;
class
Error
:
public
EventEmitter
{
public:
static
Persistent<FunctionTemplate> constructor_template;
static
void
Initialize
(Handle<v8::Object> target);
protected:
Error
() {};
~Error
() {};
static
Handle<Value>
New
(
const
Arguments& args);
static
Handle<Value>
StrError
(
const
Arguments& args);
};
#
endif
Back
|
FazBrowse Home
|
New Git URL