Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ trap
Function
trap
libs/orbit-essentials/src/cdk.rs:92–94 ·
view source on GitHub ↗
(message: &str)
Source
from the content-addressed store, hash-verified
90
}
91
92
pub fn trap(message: &str) -> ! {
93
panic!(
"{}"
, message);
94
}
95
96
pub fn print<S: AsRef<str>>(s: S) {
97
println!(
"{}"
, s.as_ref());
Callers
15
run
Method · 0.85
try_execute_request
Method · 0.85
canister_status
Function · 0.85
initialize
Function · 0.85
post_upgrade
Function · 0.85
initialize
Method · 0.85
post_upgrade
Method · 0.85
authorize
Function · 0.85
from
Method · 0.85
to_resources
Method · 0.85
assert_system_readiness
Method · 0.85
install_canister_post_process
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected