Function nemo_relay_last_error

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 extern "C" fn nemo_relay_last_error() -> *const c_char

Retrieve the last error message set on this thread, or null if no error has occurred since the last clear_last_error call.

The returned pointer borrows from thread-local storage and is valid only until the next FFI call on the same thread. Do not free the returned pointer.