Function clingo_sys::clingo_error_code [] [src]

pub unsafe extern "C" fn clingo_error_code() -> clingo_error_t

Get the last error code set by a clingo API call.

Note: Each thread has its own local error code.

Returns error code