init(errnoCode:function:)

    Creates a new `IOError``

    IO.swift:113

    This declaration has been renamed to IOError.init(errnoCode:reason:).

    This declaration is deprecated.

    init(errnoCode code: CInt, function: StaticString)

    Parameters

    errorCode

    the errno that was set for the operation.

    function

    The function the error happened in, the human readable description will be generated automatically when needed.

    Other members in extension

    Types

    Show obsolete interfaces (1)

    Hide obsolete interfaces

    Type members

    Instance members

    Show obsolete interfaces (1)

    Hide obsolete interfaces