All Collections
FAQs and Troubleshooting
Shake.handleError not visible
Shake.handleError not visible

The method has mistakenly been left as an internal one, hiding it from the public interface.

Mark Stewart avatar
Written by Mark Stewart
Updated over a week ago

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.

Did this answer your question?