[][src]Function libmpv_sys::mpv_error_string

pub unsafe extern "C" fn mpv_error_string(error: c_int) -> *const c_char

Return a string describing the error. For unknown errors, the string "unknown error" is returned.

@param error error number, see enum mpv_error @return A static string describing the error. The string is completely static, i.e. doesn't need to be deallocated, and is valid forever.