FSKitFunctions.GetErrorForCocoaError(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get an NSError for a given Cocoa error code.
public static Foundation.NSError? GetErrorForCocoaError(int errorCode);
static member GetErrorForCocoaError : int -> Foundation.NSError
Parameters
- errorCode
- Int32
The error code to look up.
Returns
A new NSError instance if successful, null otherwise.