Uncaught Exceptions
These two functions are used to get and set the function that an application uses to handle uncaught exceptions.
-
NSGetUncaughtExceptionHandler
NSUncaughtExceptionHandler
*NSGetUncaughtExceptionHandler(void)
-
NSSetUncaughtExceptionHandler
void
NSSetUncaughtExceptionHandler(NSUncaughtExceptionHandler
*)
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.