Test out the feature with the below snippets, the method will be exposed in the upcoming release.
β
βSwift
let handleErrorSel = NSSelectorFromString("handleError:clusterID:")
let customError = NSError(domain: "error_domain", code: 1, userInfo: [:])
Shake.perform(handleErrorSel, with: customError, with: "cluster_unique_id")
βObjc
SEL handleErrorSel = NSSelectorFromString(@"handleError:clusterID:");
NSError *customError = [NSError errorWithDomain:@"error_domain" code:1 userInfo:@{}];
[SHKShake performSelector:handleErrorSel withObject:customError withObject:@"cluster_unique_id"];
Affected Releases: 14.2.0, 14.2.1
If you have any other questions, don't hesitate to contact us through the Intercom bubble.
Or even better, join our Slack Community and get in touch with our developers within a few minutes.