mc-publish/src/utils/soft-error.ts
2022-01-12 18:16:19 +03:00

8 lines
185 B
TypeScript

export default class SoftError extends Error {
readonly soft: boolean;
constructor(soft: boolean, message?: string) {
super(message);
this.soft = soft;
}
}