mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 11:02:27 +08:00
13 lines
224 B
TypeScript
13 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;
|