mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-20 02:04:59 +08:00
12 lines
226 B
TypeScript
12 lines
226 B
TypeScript
import HttpError from "./http_error.js";
|
|
|
|
class ForbiddenError extends HttpError {
|
|
|
|
constructor(message: string) {
|
|
super(message, 403);
|
|
this.name = "ForbiddenError";
|
|
}
|
|
|
|
}
|
|
|
|
export default ForbiddenError; |