UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

17 lines 555 B
// SPDX-License-Identifier: Apache-2.0 import { SoloError } from './solo-error.js'; export class IllegalArgumentError extends SoloError { /** * Create a custom error for illegal argument scenario * * error metadata will include `value` * * @param message - error message * @param value - value of the invalid argument * @param cause - source error (if any) */ constructor(message, value = '', cause = {}) { super(message, cause, { value }); } } //# sourceMappingURL=illegal-argument-error.js.map