Removed unused ISE, added framework header

This commit is contained in:
2014-10-10 18:39:53 +08:00
parent d3e8b0efa7
commit c280ecc9b3
4 changed files with 4 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ function error( msg )
var e = new Error();
e = e.stack.split( "\n" );
e[0] = this.name;
e[1] = "";
e[1] = msg;
this.stack = e.join( "\n" );
}

View File

@@ -1,12 +0,0 @@
function error( msg )
{
this.name = "Internel Server Error";
this.message = msg;
}
error.prototype.toString = function()
{
return this.name + " " + this.message;
}
module.exports = error;