// SPDX-License-Identifier: Apache-2.0
import { SoloError } from '../../../core/errors/solo-error.js';
export class MissingResourceNameError extends SoloError {
    static MISSING_RESOURCE_NAME = 'Name is required.';
    /**
     * Instantiates a new error with a message and an optional cause.
     *
     * @param cause - optional underlying cause of the error.
     * @param meta - optional metadata to be reported.
     */
    constructor(cause, meta) {
        super(MissingResourceNameError.MISSING_RESOURCE_NAME, cause, meta);
    }
}
//# sourceMappingURL=missing-resource-name-error.js.map