UNPKG

305 BJavaScriptView Raw
1/**
2 * @copyright Copyright (c) 2019 Maxim Khorin <maksimovichu@gmail.com>
3 */
4'use strict';
5
6const Base = require('./HttpException');
7
8module.exports = class NotFoundHttpException extends Base {
9
10 constructor (err, data) {
11 super(404, err || 'Resource is not found', data);
12 }
13};
\No newline at end of file