error(_:file:line:)

Emits an error with the specified message, and optional file path and line number.

Diagnostics.swift:39
static func error(_ message: String, file: String? = #file, line: Int? = #line)