Initializerswift-nio 2.72.0NIOCore
init(errnoCode:function:)
Creates a new `IOError``
IO.swift:113This declaration has been renamed to IOError.init(errnoCode:reason:).
This declaration is deprecated.
init(errnoCode code: CInt, function: StaticString)
Parameters
Other members in extension
Types
Show obsolete interfaces (1)
Hide obsolete interfaces
Type members
init(errnoCode: CInt, reason: String
) Creates a new `IOError``
Instance members
var description: String
var errnoCode: CInt
The
errno
that was set for the operation.var localizedDescription: String