mirror of
https://github.com/zadam/trilium.git
synced 2026-01-01 21:19:56 +01: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;
|