Skip to content

CreateCanisterFromError

CreateCanisterFromError = { FailedToCreateFrom: { approval_refund_block: [] | [BlockIndex]; create_from_block: [] | [BlockIndex]; refund_block: [] | [BlockIndex]; rejection_code: RejectionCode; rejection_reason: string; }; } | { GenericError: { error_code: bigint; message: string; }; } | { TemporarilyUnavailable: null; } | { InsufficientAllowance: { allowance: bigint; }; } | { Duplicate: { canister_id: [] | [Principal]; duplicate_of: bigint; }; } | { CreatedInFuture: { ledger_time: bigint; }; } | { TooOld: null; } | { InsufficientFunds: { balance: bigint; }; }

Defined in: packages/canisters/src/declarations/cycles-ledger/cycles-ledger.d.ts:110