mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
4246baee16
* feat: add ui-bootstrap endpoint - Reducing calls needed for frontend to 1 instead of the current 6 fixes: #789
12 lines
292 B
TypeScript
12 lines
292 B
TypeScript
class NotFoundError extends Error {
|
|
constructor(message?: string) {
|
|
super();
|
|
Error.captureStackTrace(this, this.constructor);
|
|
|
|
this.name = this.constructor.name;
|
|
this.message = message;
|
|
}
|
|
}
|
|
export default NotFoundError;
|
|
module.exports = NotFoundError;
|