stumpless_has_error

Function stumpless_has_error 

Source
pub unsafe extern "C" fn stumpless_has_error() -> bool
Expand description

True if the last call to a stumpless function encountered an error. To get the error itself, use the stumpless_get_error function.

Thread Safety: MT-Safe This function is thread safe. No synchronization primitives are used as the returned flag is specific to the thread of execution.

Async Signal Safety: AS-Safe This function is safe to call from signal handlers. If you do so, note that if it is called before a stumpless library function in the handler itself the result will not be meaningful.

Async Cancel Safety: AC-Safe This function is safe to call from threads that may be asynchronously cancelled.

@since release v1.6.0.

@return True if the last stumpless call had an error, false if not.