Function nemo_relay_set_last_error_message

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_relay_set_last_error_message(
    msg: *const c_char,
)

Set the thread-local last-error message from foreign code.

Intended for callback trampolines that need to propagate an error through the existing FFI last-error channel.

Safety

msg must be either null or a valid, null-terminated C string for the duration of this call.