[−][src]Function dqcsim::bindings::dqcs_error_set
#[no_mangle]pub extern "C" fn dqcs_error_set(msg: *const c_char)
Sets the latest error message string.
This must be called by callback functions when an error occurs within the
callback, otherwise the upstream result for dqcs_error_get()
will be
undefined.
If msg
is set to NULL
, the error string is cleared instead.