swaf/src/SecurityError.ts

8 lines
225 B
TypeScript

export default class SecurityError implements Error {
public readonly name: string = 'SecurityError';
public readonly message: string;
public constructor(message: string) {
this.message = message;
}
}