14 lines
349 B
TypeScript
14 lines
349 B
TypeScript
export class SubscriberParameterError extends Error {
|
|
public constructor(message?: string) {
|
|
super(message);
|
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
}
|
|
}
|
|
|
|
export class SubscriberExistError extends Error {
|
|
public constructor(message?: string) {
|
|
super(message);
|
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
}
|
|
}
|