unimplemented(_:fileID:filePath:function:line:column:)

Returns a throwing closure that reports an issue and throws an error when invoked.

Unimplemented.swift:53
func unimplemented<each Argument, Result>(_ description: @autoclosure @escaping () -> String = "", fileID: StaticString = #fileID, filePath: StaticString = #filePath, function: StaticString = #function, line: UInt = #line, column: UInt = #column) -> (repeat each Argument) throws -> Result

Parameters

description

An optional description of the unimplemented closure.

fileID

The fileID.

filePath

The filePath.

function

The function.

line

The line.

column

The column.

Returns

A throwing closure that reports an issue and throws an error when invoked.

Useful for creating closures that need to be overridden by users of your API, and if it is ever invoked without being overridden an issue will be reported. See Unimplemented closures for more information.