Contents

reportException(_:)

Logs a given exception by calling NSLog().

Declaration

func reportException(_ exception: NSException)

Parameters

  • exception:

    The exception whose contents you want to write to the log file.

Discussion

This method doesn’t raise anException. Use it inside of an exception handler to record that the exception occurred.

See Also

Related Documentation