GitError

class GitError : public ObjectWrap

Wrapper for libgit2 git_error.

Summary
GitErrorWrapper for libgit2 git_error.
Variables
constructor_templateUsed to create Node.js constructor.
Functions
InitializeUsed to intialize the EventEmitter from Node.js
StrErrorGet a read-only buffer with the raw content of a blob.
GitError
Newargs v8::Arguments function call
StrErrorargs v8::Arguments function call

Variables

constructor_template

static v8::Persistent<v8::FunctionTemplate> constructor_template

Used to create Node.js constructor.

Functions

Initialize

static void Initialize(v8::Handle<v8::Object> target)

Used to intialize the EventEmitter from Node.js

Parameters

targetv8::Object the Node.js global module object

StrError

const char* StrError(int err)

Get a read-only buffer with the raw content of a blob.

Parameters

errA signed int error code

Returns

a string explaining the error code.

GitError

GitError()

New

static v8::Handle<v8::Value> New(const v8::Arguments &args)

Parameters

args v8::Arguments function call

Returns

v8::Object args.This()

StrError

static v8::Handle<v8::Value> StrError(const v8::Arguments &args)

Parameters

args v8::Arguments function call

Returns

v8::Object args.This()

class GitError : public ObjectWrap
Wrapper for libgit2 git_error.
static v8::Persistent<v8::FunctionTemplate> constructor_template
Used to create Node.js constructor.
static void Initialize(v8::Handle<v8::Object> target)
Used to intialize the EventEmitter from Node.js
const char* StrError(int err)
Get a read-only buffer with the raw content of a blob.
GitError()
static v8::Handle<v8::Value> New(const v8::Arguments &args)
args v8::Arguments function call
Close