UNPKG

bigint-money

Version:

A Money class for high precision calculations using the ESnext bigint type.

13 lines 304 B
/** * Thrown when trying to use unsafe integers. * * These require explicit conversions first. */ export class UnsafeIntegerError extends Error { } /** * Thrown when, for example trying to add USD to YEN */ export class IncompatibleCurrencyError extends Error { } //# sourceMappingURL=errors.js.map