BotanSS/errors/FatalError.js

13 lines
150 B
JavaScript
Raw Normal View History

2016-02-12 21:09:29 +00:00
"use strict";
2014-10-10 08:38:06 +00:00
2016-02-12 21:09:29 +00:00
class FatalError extends Error
2014-10-10 08:38:06 +00:00
{
2016-02-12 21:09:29 +00:00
constructor( msg )
{
super( msg );
this.name = "FatalError";
}
2014-10-10 08:38:06 +00:00
}
2016-02-12 21:09:29 +00:00
module.exports = FatalError;