Function abort

Source
pub fn abort() -> !
Expand description

Aborts the current contract execution without a custom message. To include a message, use panic_str.

§Examples

use near_sdk::env::abort;

abort();