really feeling good about where i am

This commit is contained in:
Peter Cottle 2012-09-11 23:34:26 -07:00
parent 9b62f06bc2
commit 9221088853
4 changed files with 110 additions and 38 deletions

View file

@ -21,3 +21,11 @@ CommandResult.prototype.toString = function() {
CommandResult.prototype.toResult = function() {
return this.msg.replace('\n', '</br>');
};
function GitError(msg) {
this.msg = msg;
}
GitError.prototype.toString = function() {
return 'Git Error: ' + this.msg;
};