feat(core): Added GuardError

This commit is contained in:
2024-08-25 18:03:37 +02:00
parent 425477548f
commit 1d06c878e1
11 changed files with 505 additions and 439 deletions

8
ts/classes.guarderror.ts Normal file
View File

@@ -0,0 +1,8 @@
import * as plugins from './smartguard.plugins.js';
export class GuardError extends Error {
constructor(message: string) {
super(message);
this.name = 'GuardError';
}
}