Function

fatalError(_:file:line:)

Unconditionally prints a given message and stops execution.

Declaration

func fatalError(_ message: @autoclosure () -> String = default, file: StaticString = #file, line: UInt = #line) -> Never

See Also

Exiting a Program

enum Never

The return type of functions that do not return normally, that is, a type with no values.