Function ffi_helpers::error_handling::error_message_utf8 [−][src]
Expand description
Peek at the most recent error and write its error message (Display
impl)
into the provided buffer as a UTF-8 encoded string.
This returns the number of bytes written, or -1
if there was an error.