Beispiel #1
0
 public static void RaiseError(FxErrArgs e)
 {
     if (Erroring != null)
     {
         Erroring(null, e);
     }
 }
Beispiel #2
0
 private void fetion_Errored(object sender, Haozes.FxClient.Core.FxErrArgs e)
 {
     RobotCore.Log.Error("fetion client occured error:", e.InnerException);
     if (e.Level == ErrLevel.Fatal && fetion.IsALive)
     {
         ReLogin();
     }
 }