[][src]Function clingo_sys::clingo_set_error

pub unsafe extern "C" fn clingo_set_error(
    code: clingo_error_t,
    message: *const c_char
)

Set a custom error code and message in the active thread. @param[in] code the error code @param[in] message the error message