@interface SBSDKExceptionHandler : NSObject
Helper class to catch NSExceptions from with Swift code.
Call a function that may throw an NSException and catch it using the catchBlock.
+ (void)tryBlock:(void (^_Nonnull)(void))tryBlock catchBlock:(void (^_Nonnull)(NSException *_Nonnull))catchBlock;
class func `try`(_ tryBlock: @escaping () -> Void, catch catchBlock: @escaping (NSException) -> Void)
A block that contains the calls to the throwing functions.
A block being called if an exception is thrown during the execution of the tryBlock.