eosio_cdt
pub fn check(pred: bool, msg: &str)
Aborts processing of this action and unwinds all pending changes if the test condition is true