Function mpv_error_string

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

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.