Function gcore::ext::panic

source ·
pub fn panic(data: &str) -> !
Expand description

Panic

Function is completely free in terms of gas usage.

§Examples

use gcore::ext;

#[no_mangle]
extern "C" fn handle() {
    ext::panic("I decided to panic");
}