Package mindustry.net

Class CrashHandler

java.lang.Object
mindustry.net.CrashHandler

public class CrashHandler extends Object
  • Constructor Details

    • CrashHandler

      public CrashHandler()
  • Method Details

    • createReport

      public static String createReport(Throwable exception)
    • log

      public static void log(Throwable exception)
    • handle

      public static void handle(Throwable exception, arc.func.Cons<File> writeListener)
    • getModCause

      @Nullable public static Mods.LoadedMod getModCause(Throwable e)
      Returns:
      the mod that is likely to have caused the supplied crash