Added Error

This commit is contained in:
Dolan
2017-06-07 02:28:47 +01:00
parent a7d31d8d6b
commit 27d38b770f
4 changed files with 73 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
import { Error } from './error';
export class Giterr {
static errClear(): void;
static errDetach(cpy: NodeGit.Error): number;
static errDetach(cpy: Error): number;
static errLast(): Error;
static errSetOom(): void;
static errSetString(error_class: number, string: string): void;