Function sdf::error::last_error
[−]
[src]
pub fn last_error() -> &'static str
Retrieves the last error from fwifc and returns it as a &'static str
.
Panics
This function panics if the error function itself returns an error code, or if the error message cannot be converted into a string. We figure that if the error function is in error, that really is a time for panic.
Examples
use sdf::error::last_error; let message = last_error();