UNPKG

@ledgerhq/coin-filecoin

Version:
23 lines 698 B
/* * When the recipient is non f0, f4 or eth address during token transfer */ export class InvalidRecipientForTokenTransfer extends Error { name = "InvalidRecipientForTokenTransfer"; constructor(message, fields) { super(message || "InvalidRecipientForTokenTransfer"); if (fields) Object.assign(this, fields); } } /* * When the fee estimation endpoint fails */ export class FilecoinFeeEstimationFailed extends Error { name = "FilecoinFeeEstimationFailed"; constructor(message, fields) { super(message || "FilecoinFeeEstimationFailed"); if (fields) Object.assign(this, fields); } } //# sourceMappingURL=errors.js.map