mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2025-01-08 23:04:46 -05:00
9 lines
185 B
TypeScript
9 lines
185 B
TypeScript
|
export default class SoftError extends Error {
|
||
|
readonly soft: boolean;
|
||
|
|
||
|
constructor(soft: boolean, message?: string) {
|
||
|
super(message);
|
||
|
this.soft = soft;
|
||
|
}
|
||
|
}
|