CFErrorGetCode(_:)
Returns the error code for a given CFError.
Declaration
func CFErrorGetCode(_ err: CFError!) -> CFIndexParameters
- err:
The error to examine. If this is not a valid CFError, the behavior is undefined.
Return Value
The error code of err.
Discussion
Note that this function returns the error code for the specified CFError, not an error return for the current call.