feat(core): Added GuardError
This commit is contained in:
8
ts/classes.guarderror.ts
Normal file
8
ts/classes.guarderror.ts
Normal 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';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user