Files
Trilium/apps/server/src/errors/not_found_error.ts
T

13 lines
224 B
TypeScript
Raw Normal View History

import HttpError from "./http_error.js";
class NotFoundError extends HttpError {
2024-02-16 22:50:49 +02:00
constructor(message: string) {
super(message, 404);
this.name = "NotFoundError";
}
}
2024-12-22 15:45:54 +02:00
export default NotFoundError;