UNPKG

rubic-sdk-next

Version:
19 lines 616 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InsufficientFundsError = void 0; const rubic_sdk_error_1 = require("../rubic-sdk.error"); /** * Thrown, when user doesn't have enough balance. */ class InsufficientFundsError extends rubic_sdk_error_1.RubicSdkError { /** * @param symbol Token symbol. */ constructor(symbol) { super(); this.symbol = symbol; Object.setPrototypeOf(this, InsufficientFundsError.prototype); } } exports.InsufficientFundsError = InsufficientFundsError; //# sourceMappingURL=insufficient-funds.error.js.map