// SPDX-License-Identifier: Apache-2.0
import { CommandError } from "../../../../error/CommandError";
import BaseError from "../../../../../../../core/error/BaseError";
export class SetMaxSupplyCommandError extends CommandError {
    constructor(error) {
        const msg = `An error occurred while setting max supply: ${error.message}`;
        super(msg, error instanceof BaseError ? error.errorCode : undefined);
    }
}
