Skip to content

swift_errorInMain(__)

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

swift_errorInMain(_:)

Invoked by the compiler when code at top level throws an error.

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

Parameters

  • error: The error thrown/to throw.
Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally