UNPKG

rubic-sdk

Version:
15 lines 580 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SwapRequestError = void 0; const rubic_sdk_error_1 = require("../rubic-sdk.error"); /** * Thrown, when `swap` request to API is failed. */ class SwapRequestError extends rubic_sdk_error_1.RubicSdkError { constructor() { super("Unfortunately, the provider couldn't generate the transaction. Please try again later."); Object.setPrototypeOf(this, SwapRequestError.prototype); } } exports.SwapRequestError = SwapRequestError; //# sourceMappingURL=swap-request.error.js.map