pub fn panic(data: &str) -> !
Panic
Function is completely free in terms of gas usage.
use gcore::ext; #[unsafe(no_mangle)] extern "C" fn handle() { ext::panic("I decided to panic"); }