Functions
The following functions are available globally.
-
See: https://stackoverflow.com/questions/32873212/unit-test-fatalerror-in-swift/44140448#44140448 Overrides Swift global
fatalError
to enable testing of runtime fatal errorsDeclaration
Swift
func fatalError(_ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line) -> Never