mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
server-ts: errors/*.js -> .ts
This commit is contained in:
9
src/errors/validation_error.ts
Normal file
9
src/errors/validation_error.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
class ValidationError {
|
||||
message: string;
|
||||
|
||||
constructor(message: string) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ValidationError;
|
||||
Reference in New Issue
Block a user