@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
31 lines (28 loc) • 950 B
text/typescript
/**
* SPDX-License-Identifier: Apache-2.0
*/
import {SoloError} from '../errors.js';
export class LeaseAcquisitionError extends SoloError {
/**
* Instantiates a new error with a message and an optional cause.
*
* @param message - the error message to be reported.
* @param cause - optional underlying cause of the error.
* @param meta - optional metadata to be reported.
*/
public constructor(message: string, cause: Error | any = {}, meta: any = {}) {
super(message, cause, meta);
}
}
export class LeaseRelinquishmentError extends SoloError {
/**
* Instantiates a new error with a message and an optional cause.
*
* @param message - the error message to be reported.
* @param cause - optional underlying cause of the error.
* @param meta - optional metadata to be reported.
*/
public constructor(message: string, cause: Error | any = {}, meta: any = {}) {
super(message, cause, meta);
}
}