@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
20 lines • 585 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
/**
* An exception thrown when parsing the output of a kind command fails.
*/
export class KindParserException extends Error {
constructor(messageOrCause, cause) {
if (messageOrCause instanceof Error) {
super(messageOrCause.message);
this.cause = messageOrCause;
}
else {
super(messageOrCause);
if (cause) {
this.cause = cause;
}
}
this.name = this.constructor.name;
}
}
//# sourceMappingURL=kind-parser-exception.js.map