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-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

#[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.