[][src]Function eosio_cdt_sys::eosio_assert_message

pub unsafe extern "C" fn eosio_assert_message(
    test: u32,
    msg: *const c_char,
    msg_len: u32
)

Aborts processing of this action and unwinds all pending changes if the test condition is true

@param test - 0 to abort, 1 to ignore @param msg - a pointer to the start of string explaining the reason for failure @param msg_len - length of the string