Files
payload/src/errors/NotFound.ts
2020-11-20 17:12:39 -05:00

11 lines
232 B
TypeScript

import httpStatus from 'http-status';
import APIError from './APIError';
class NotFound extends APIError {
constructor() {
super('The requested resource was not found.', httpStatus.NOT_FOUND);
}
}
export default NotFound;