Limitations
- The selective catch directive must be written exactly as
// @try-as: throw,abort,unreachablewith the chosen kinds, immediately above thetry. - Runtime and internal trap paths are intentionally not rewritten.
- Exceptions from these internals are not catchable by
try-as:~lib/rt~lib/shared~lib/wasi_~lib/performance
- This library handles transformed
throwandabortflows, not low-level Wasm traps like out-of-bounds memory faults. throw err;becomeserr.rethrow();whenerris statically typed asException.
