9 lines
199 B
TypeScript
9 lines
199 B
TypeScript
export class StickerReleaseError extends Error {
|
|
readonly httpStatus: number;
|
|
|
|
constructor(readonly reason: string, httpStatus = 400) {
|
|
super(reason);
|
|
this.httpStatus = httpStatus;
|
|
}
|
|
}
|