UNPKG

@ledgerhq/coin-filecoin

Version:
28 lines 994 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FilecoinFeeEstimationFailed = exports.InvalidRecipientForTokenTransfer = void 0; /* * When the recipient is non f0, f4 or eth address during token transfer */ class InvalidRecipientForTokenTransfer extends Error { name = "InvalidRecipientForTokenTransfer"; constructor(message, fields) { super(message || "InvalidRecipientForTokenTransfer"); if (fields) Object.assign(this, fields); } } exports.InvalidRecipientForTokenTransfer = InvalidRecipientForTokenTransfer; /* * When the fee estimation endpoint fails */ class FilecoinFeeEstimationFailed extends Error { name = "FilecoinFeeEstimationFailed"; constructor(message, fields) { super(message || "FilecoinFeeEstimationFailed"); if (fields) Object.assign(this, fields); } } exports.FilecoinFeeEstimationFailed = FilecoinFeeEstimationFailed; //# sourceMappingURL=errors.js.map