'use strict'
// @ts-check
const BaseError = require('./base_error')
/**
*
*
* @class NotFoundError
* @extends {BaseError}
*/
class NotFoundError extends BaseError {
/**
*Creates an instance of AuthenticationError.
* @param {*} message
* @param {*} args
* @memberof AuthenticationError
*/
constructor(message, ...args) {
super(message, ...args)
this.status = 404
}
}
module.exports = NotFoundError
Source