mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-20 10:22:26 +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;
|