Share via


FSKitFunctions.GetErrorForMachError(Int32) Method

Definition

Get an NSError for a given Mach error code.

public static Foundation.NSError? GetErrorForMachError(int errorCode);
static member GetErrorForMachError : int -> Foundation.NSError

Parameters

errorCode
Int32

The error code to look up.

Returns

A new NSError instance if successful, null otherwise.

Applies to