1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/lib/error/notfound-error.js

14 lines
269 B
JavaScript
Raw Normal View History

2016-06-18 21:53:18 +02:00
'use strict';
2016-10-26 10:43:11 +02:00
2016-11-01 15:38:27 +01:00
class NotFoundError extends Error {
2017-06-28 10:17:14 +02:00
constructor(message) {
2016-11-01 15:38:27 +01:00
super();
Error.captureStackTrace(this, this.constructor);
this.name = this.constructor.name;
this.message = message;
}
}
module.exports = NotFoundError;