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