/** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequiredError } from "../base"; import { assertParamExists } from "../common"; /** * * @throws {RequiredError} * @export */ export const assertParamExistsAndNotEmpty = function (functionName: string, paramName: string, paramValue: string) { assertParamExists(functionName, paramName, paramValue); if (paramValue === "") { throw new RequiredError(paramName, `The required parameter '${paramName}' was empty when calling '${functionName}'.`); } }