Function unc_sdk::env::panic

source ยท
pub fn panic(message: &[u8]) -> !
๐Ÿ‘ŽDeprecated since 1.0.0: Use env::panic_str to panic with a message.
Expand description

Terminates the execution of the program with the UTF-8 encoded message. panic_str should be used as the bytes are required to be UTF-8