Error.clear SyncExperimental

Error.clear();

Error.setOom SyncExperimental

Error.setOom();

Error.setString SyncExperimental

Error.setString(error_class, string);
Parameters Type  
error_class Number One of the git_error_t enum above describing the general subsystem that is responsible for the error.
string String The formatted error message to keep

Error#last SyncExperimental

var error = error.last();
Returns  
Error A git_error object.

Error.CODE ENUM

Flag Value
Error.CODE.OK 0
Error.CODE.ERROR -1
Error.CODE.ENOTFOUND -3
Error.CODE.EEXISTS -4
Error.CODE.EAMBIGUOUS -5
Error.CODE.EBUFS -6
Error.CODE.EUSER -7
Error.CODE.EBAREREPO -8
Error.CODE.EUNBORNBRANCH -9
Error.CODE.EUNMERGED -10
Error.CODE.ENONFASTFORWARD -11
Error.CODE.EINVALIDSPEC -12
Error.CODE.ECONFLICT -13
Error.CODE.ELOCKED -14
Error.CODE.EMODIFIED -15
Error.CODE.EAUTH -16
Error.CODE.ECERTIFICATE -17
Error.CODE.EAPPLIED -18
Error.CODE.EPEEL -19
Error.CODE.EEOF -20
Error.CODE.EINVALID -21
Error.CODE.EUNCOMMITTED -22
Error.CODE.EDIRECTORY -23
Error.CODE.EMERGECONFLICT -24
Error.CODE.PASSTHROUGH -30
Error.CODE.ITEROVER -31
Error.CODE.RETRY -32
Error.CODE.EMISMATCH -33
Error.CODE.EINDEXDIRTY -34
Error.CODE.EAPPLYFAIL -35

Error.ERROR ENUM

Flag Value
Error.ERROR.NONE 0
Error.ERROR.NOMEMORY 1
Error.ERROR.OS 2
Error.ERROR.INVALID 3
Error.ERROR.REFERENCE 4
Error.ERROR.ZLIB 5
Error.ERROR.REPOSITORY 6
Error.ERROR.CONFIG 7
Error.ERROR.REGEX 8
Error.ERROR.ODB 9
Error.ERROR.INDEX 10
Error.ERROR.OBJECT 11
Error.ERROR.NET 12
Error.ERROR.TAG 13
Error.ERROR.TREE 14
Error.ERROR.INDEXER 15
Error.ERROR.SSL 16
Error.ERROR.SUBMODULE 17
Error.ERROR.THREAD 18
Error.ERROR.STASH 19
Error.ERROR.CHECKOUT 20
Error.ERROR.FETCHHEAD 21
Error.ERROR.MERGE 22
Error.ERROR.SSH 23
Error.ERROR.FILTER 24
Error.ERROR.REVERT 25
Error.ERROR.CALLBACK 26
Error.ERROR.CHERRYPICK 27
Error.ERROR.DESCRIBE 28
Error.ERROR.REBASE 29
Error.ERROR.FILESYSTEM 30
Error.ERROR.PATCH 31
Error.ERROR.WORKTREE 32
Error.ERROR.SHA1 33

Instance Variables

Variable Type Description
klass Number  
message String