BotanSS/errors/InternalServerError.js
2014-10-10 16:38:06 +08:00

13 lines
193 B
JavaScript

function error( msg )
{
this.name = "Internel Server Error";
this.message = msg;
}
error.prototype.toString = function()
{
return this.name + " " + this.message;
}
module.exports = error;