swaf/src/SecurityError.ts

8 lines
225 B
TypeScript
Raw Permalink Normal View History

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