WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsINSSErrorsService
| IID: | 3a5c7a0f-f5da-4a8b-a748-d7c5a528f33b |
| Inherits From: | nsISupports |
Constants
Methods
PRUint32 getErrorClass ( nsresult XPCOMErrorCode )
AString getErrorMessage ( nsresult XPCOMErrorCode )
nsresult getXPCOMFromNSSError ( PRInt32 NSPRCode )
PRBool isNSSErrorCode ( PRInt32 NSPRCode )
PRUint32 getErrorClass ( nsresult XPCOMErrorCode )
Function will fail if xPCOMErrorCode is not an NSS error code.
- Arguments:
- XPCOMErrorCode: An error code obtain using getXPCOMFromNSSError return the
AString getErrorMessage ( nsresult XPCOMErrorCode )
Function will fail if xPCOMErrorCode is not an NSS error code.
- Arguments:
- XPCOMErrorCode: An error code obtain using getXPCOMFromNSSError return A localized human readable error explanation.
nsresult getXPCOMFromNSSError ( PRInt32 NSPRCode )
Function will fail if nSPRCode is not an NSS error code.
- Arguments:
- NSPRCode: An error code obtained using PR_GetError()
- Returns:
- The result of the conversion, an XPCOM error code
PRBool isNSSErrorCode ( PRInt32 NSPRCode )
- Arguments:
- NSPRCode: An error code obtained using PR_GetError()
- Returns:
- True if it is error code defined by the NSS library
Reference documentation is generated from Mozilla's source.
