GEMExceptionHandler

Objective-C


@interface GEMExceptionHandler : NSObject

Swift

class GEMExceptionHandler : NSObject

This class handles sdk api exceptions.

  • Undocumented

    Declaration

    Objective-C

    + (GEMExceptionHandler*)sharedInstace;

    Swift

    class func sharedInstace() -> GEMExceptionHandler
  • Register to receive API exception.

    Declaration

    Objective-C

    - (void)registerWithCompletionHandler:
        (nonnull void (^)(NSException *_Nonnull))handler;

    Swift

    func register() async -> NSException
  • Deregister the service.

    Declaration

    Objective-C

    - (void)deregister;

    Swift

    func deregister()