8 lines
208 B
TypeScript
8 lines
208 B
TypeScript
export class SocialDomainError extends Error {
|
|
readonly name: string = 'SocialDomainError';
|
|
|
|
constructor(message: string) {
|
|
super(message);
|
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
}
|
|
} |