#[no_mangle]
pub extern "C" fn pkgcraft_last_error() -> *mut c_char
Expand description

Get the most recent error message.

Returns NULL on nonexistence.

Safety

The caller is expected to free the error string using pkgcraft_str_free().