Share via


FSKitFunctions.GetErrorForCocoaError(Int32) Method

Definition

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.

Applies to