Skip to content

CreateCanisterError

CreateCanisterError = { GenericError: { error_code: bigint; message: string; }; } | { TemporarilyUnavailable: null; } | { Duplicate: { canister_id: [] | [Principal]; duplicate_of: bigint; }; } | { CreatedInFuture: { ledger_time: bigint; }; } | { FailedToCreate: { error: string; fee_block: [] | [BlockIndex]; refund_block: [] | [BlockIndex]; }; } | { TooOld: null; } | { InsufficientFunds: { balance: bigint; }; }

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