docs: execution errors reference#70
Conversation
9bf8da6 to
2efd520
Compare
Review: Execution ErrorsMust fix
Suggestions
Verified
|
… lifecycle accuracy - Remove broken link to cdk-rs/printer.rs (file no longer exists); rewrite to describe that ic-cdk macros automatically set up the panic hook - Fix canister deletion lifecycle: add frozen state before deletion when cycle balance drops to zero - Add note that memory grow error may include "At least X cycles" suffix for snapshot/install/upload_chunk operations (second error variant) - Add wasm64 memory limits (4 GiB wasm32 / 6 GiB wasm64) to Out of memory and Wasm memory limit exceeded sections - Clarify that Motoko 0.6.21+ in icp-cli resolves the reserved pages error
|
<!-- feedback-addressed --> Changes appliedMust-fix items1. Broken GitHub link — panic hook (line 28)
2. Inaccurate canister deletion lifecycle (line 583)
Suggestions applied3. Second variant of "Insufficient cycles in memory grow"
4. wasm64 memory limit clarification
5. More specific Motoko version for "Reserved pages for old Motoko"
Items skippedNone — all feedback items were factually correct and verified against source material. Build verificationThe build fails due to a pre-existing unrelated issue in |
Summary
trapped,trapped explicitlywith cause/fix guidanceSync recommendation
informed by
dfinity/portal—docs/references/execution-errors.mdx;docs/building-apps/canister-management/trapping.mdx;docs/building-apps/canister-management/resource-limits.mdx