mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 21:30:53 +08:00
12 lines
224 B
TypeScript
12 lines
224 B
TypeScript
import HttpError from "./http_error.js";
|
|
|
|
class NotFoundError extends HttpError {
|
|
|
|
constructor(message: string) {
|
|
super(message, 404);
|
|
this.name = "NotFoundError";
|
|
}
|
|
|
|
}
|
|
|
|
export default NotFoundError;
|