FatalErrorUtil

public struct FatalErrorUtil

[Internal] Used for handling fatal errors inside library.

  • [Internal] Override handling error handler

    Declaration

    Swift

    public static func set(_ new: @escaping (String) -> Never)

    Parameters

    new

    New handler

  • [Internal] Restores default handler

    Declaration

    Swift

    public static func restore()
  • [Internal] Perform fatal error handler

    Declaration

    Swift

    public static func fatalError(_ message: String) -> Never

    Parameters

    message

    Message