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