OrionErrorHandler

public typealias OrionErrorHandler = (
    _ message: @autoclosure () -> String,
    _ file: StaticString,
    _ line: UInt
) -> Never

A closure which is called when Orion encounters a non-recoverable error.

Important

The closure must terminate the program, as implied by the Never return value.

Parameters

message

The error message.

file

The file associated with the error.

line

The line number associated with the error.