"use strict";
// SPDX-License-Identifier: Apache-2.0
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SetNominalValueCommandError = void 0;
const CommandError_1 = require("../../../../error/CommandError");
const BaseError_1 = __importDefault(require("../../../../../../../core/error/BaseError"));
class SetNominalValueCommandError extends CommandError_1.CommandError {
    constructor(error) {
        const msg = `An error occurred while setting nominal value: ${error.message}`;
        super(msg, error instanceof BaseError_1.default ? error.errorCode : undefined);
    }
}
exports.SetNominalValueCommandError = SetNominalValueCommandError;
