Function

NSSetUncaughtExceptionHandler(_:)

Changes the top-level error handler.

Declaration

func NSSetUncaughtExceptionHandler(_: ((NSException) -> Void)?)

Discussion

Sets the top-level error-handling function where you can perform last-minute logging before the program terminates.

See Also