MCPcopy 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

runMethod · 0.85
try_execute_requestMethod · 0.85
canister_statusFunction · 0.85
initializeFunction · 0.85
post_upgradeFunction · 0.85
initializeMethod · 0.85
post_upgradeMethod · 0.85
authorizeFunction · 0.85
fromMethod · 0.85
to_resourcesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected