Skip to content

swift_errorRetain(__)

0x41c edited this page Feb 28, 2022 · 1 revision

swift_errorRetain(_:)

Increments the strong retain count of the error object.

@_silgen_name("swift_errorRetain")
public func swift_errorRetain(
    _ error: Error
) -> Error

Parameters

  • error: The error to retain.

Returns

The retained error object.

Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally