Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ is_trap_like_impl
Function
is_trap_like_impl
crates/c-api/src/func.rs:410–412 ·
view source on GitHub ↗
(err: &Error)
Source
from the content-addressed store, hash-verified
408
409
#[cfg(feature =
"gc"
)]
410
fn is_trap_like_impl(err: &Error) -> bool {
411
err.is::<Trap>() || err.is::<ThrownException>()
412
}
413
414
#[cfg(not(feature =
"gc"
))]
415
fn is_trap_like_impl(err: &Error) -> bool {
Callers
1
store_err
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected