UNPKG

rubic-sdk

Version:
13 lines 551 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MaxDecimalsError = void 0; const rubic_sdk_error_1 = require("../rubic-sdk.error"); class MaxDecimalsError extends rubic_sdk_error_1.RubicSdkError { constructor(decimals) { super(`Amount must have no more than ${decimals} digits after the decimal point`); this.decimals = decimals; Object.setPrototypeOf(this, MaxDecimalsError.prototype); } } exports.MaxDecimalsError = MaxDecimalsError; //# sourceMappingURL=max-decimals.error.js.map