HomeDocumentationAPI Reference
Getting StartedAPI ReferenceHelp CenterVideo Tours

Report Exception

You can manually report exceptions to the dashboard using this API. The method takes an exception as an argument.

CrashReporting.report(exception)
[IBGCrashReporting reportException:exception];
CrashReporting.reportException(new NullPointerException("Test issue"));
try {
      throw new SyntaxError();
    } catch (error) {
      alert(error.name);
      CrashReporting.reportJSException(error);
    }