// SPDX-License-Identifier: Apache-2.0
import BaseError from "../../../../../../../core/error/BaseError";
import { QueryError } from "../../../../error/QueryError";
export class GetTotalSecurityHoldersQueryError extends QueryError {
    constructor(error) {
        const msg = `An error occurred while querying total security holders: ${error.message}`;
        super(msg, error instanceof BaseError ? error.errorCode : undefined);
    }
}
