WithdrawFromError
WithdrawFromError = {
GenericError: {error_code:bigint;message:string; }; } | {TemporarilyUnavailable:null; } | {InsufficientAllowance: {allowance:bigint; }; } | {Duplicate: {duplicate_of:BlockIndex; }; } | {InvalidReceiver: {receiver:Principal; }; } | {CreatedInFuture: {ledger_time:bigint; }; } | {TooOld:null; } | {FailedToWithdrawFrom: {approval_refund_block: [] | [bigint];refund_block: [] | [bigint];rejection_code:RejectionCode;rejection_reason:string;withdraw_from_block: [] | [bigint]; }; } | {InsufficientFunds: {balance:bigint; }; }
Defined in: packages/canisters/src/declarations/cycles-ledger/cycles-ledger.d.ts:356