Share via


FSKitFunctions.GetErrorForPosixError(Int32) Method

Definition

Get an NSError for a given POSIX error code.

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

Parameters

errorCode
Int32

The error code to look up.

Returns

A new NSError instance if successful, null otherwise.

Applies to