[][src]Function dqcsim::bindings::dqcs_error_get

#[no_mangle]pub extern "C" fn dqcs_error_get() -> *const c_char

Returns a pointer to the latest error message.

Call this to get extra information when another function returns a failure code. The returned pointer is temporary and therefore should NOT be free()d. It will become invalid when a new error occurs.