CommunitySolidServer/src/util/errors/NotFoundHttpError.ts
2020-07-02 10:15:01 +02:00

10 lines
265 B
TypeScript

import { HttpError } from './HttpError';
/**
* An error thrown when no data was found for the requested identifier.
*/
export class NotFoundHttpError extends HttpError {
public constructor(message?: string) {
super(404, 'NotFoundHttpError', message);
}
}