public override void CrashesDidFailSendingErrorReport(MSCrashes crashes, MSErrorReport msReport, NSError error) { if (_owner.FailedToSendErrorReport != null) { var report = new ErrorReport(msReport); var e = new FailedToSendErrorReportEventArgs(); e.Report = report; e.Exception = error; _owner.FailedToSendErrorReport(null, e); } }
public void OnSendingFailed(AndroidErrorReport androidReport, Exception exception) { if (_owner.FailedToSendErrorReport == null) { return; } var report = ErrorReportCache.GetErrorReport(androidReport); var e = new FailedToSendErrorReportEventArgs(); e.Report = report; e.Exception = exception; _owner.FailedToSendErrorReport(null, e); }