util_nss_error_to_string


Description:

[ Version ( since = "3.52" ) ]
public static unowned string? util_nss_error_to_string (int nss_error_code)

Utility function to get a localized text description for an error code returned by PORT_GetError.

Note: the function returns always NULL when the library was not compiled with S/MIME support.

Parameters:

nss_error_code

an error code, as returned by PORT_GetError

Returns:

a localized text description of the nss_error_code, or NULL, when the code is unknown or the library was not compiled with S/MIME support.