mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 10:39:00 +01:00
13 lines
229 B
TypeScript
13 lines
229 B
TypeScript
import HttpError from "./http_error.js";
|
|
|
|
class ValidationError extends HttpError {
|
|
|
|
constructor(message: string) {
|
|
super(message, 400)
|
|
this.name = "ValidationError";
|
|
}
|
|
|
|
}
|
|
|
|
export default ValidationError;
|