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