Report Error
API reference for reporting errors manually with Luciq. Pass an error object to send it to your dashboard without an app crash.
You can manually report errors to the dashboard using this API. The method takes an error as an argument.
let error = NSError(domain: "domain", code: 500, userInfo: nil)
CrashReporting.reportError(error)NSError *error = [[NSError alloc] initWithDomain:@"domain" code:500 userInfo:nil];
[LCQCrashReporting reportError:error];CrashReporting.reportException(new NullPointerException("Test issue"));CrashReporting.reportException(new NullPointerException("Test issue"))try {
throw new SyntaxError();
} catch (error) {
alert(error.name);
Luciq.reportJSException(error);
}Last updated