UNPKG

rubic-sdk

Version:
18 lines 617 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdatedRatesError = void 0; const errors_1 = require(".."); /** * Thrown, when current gas price is higher, than max gas price on cross-chain contract * in target network. */ class UpdatedRatesError extends errors_1.RubicSdkError { constructor(oldAmount, newAmount) { super(); this.oldAmount = oldAmount; this.newAmount = newAmount; Object.setPrototypeOf(this, UpdatedRatesError.prototype); } } exports.UpdatedRatesError = UpdatedRatesError; //# sourceMappingURL=updated-rates-error.js.map