-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84db42a
commit 976d4c0
Showing
8 changed files
with
532 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
namespace MinecraftLaunch.Classes.Enums; | ||
|
||
public enum CrashCauses { | ||
#region Memory | ||
|
||
NoEnoughMemory, | ||
NoEnoughMemory32, | ||
|
||
#endregion | ||
|
||
#region Java | ||
|
||
JdkUse, | ||
OpenJ9Use, | ||
JavaVersionTooHigh, | ||
UnsupportedJavaVersion, | ||
|
||
#endregion | ||
|
||
#region GPU | ||
|
||
UnsupportedNvDriver, | ||
UnsupportedAmdDriver, | ||
UnableToSetPixelFormat, | ||
UnsupportedIntelDriver, | ||
|
||
#endregion | ||
|
||
#region Mod | ||
|
||
DuplicateMod, | ||
ModIdExceeded, | ||
ModInitFailed, | ||
ModMixinFailed, | ||
ModLoaderError, | ||
DecompressedMod, | ||
IncorrectModConfig, | ||
ModCausedGameCrash, | ||
|
||
#endregion | ||
|
||
#region OpenGL | ||
|
||
OpenGl1282Error, | ||
GpuDoesNotSupportOpenGl, | ||
|
||
#endregion | ||
|
||
#region Shaders | ||
|
||
TextureTooLargeOrLowEndGpu, | ||
FailedToLoadWorldBecauseOptiFine, | ||
|
||
#endregion | ||
|
||
#region AffiliatedComponent | ||
|
||
ForgeError, | ||
FabricError, | ||
FabricErrorWithSolution, | ||
MultipleForgeInVersionJson, | ||
IncompatibleForgeAndOptifine, | ||
LegacyForgeDoesNotSupportNewerJava, | ||
|
||
#endregion | ||
|
||
LogFileNotFound, | ||
BlockCausedGameCrash, | ||
EntityCausedGameCrash, | ||
ContentValidationFailed, | ||
ManuallyTriggeredDebugCrash, | ||
IncorrectPathEncodingOrMainClassNotFound, | ||
|
||
Other | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using MinecraftLaunch.Classes.Enums; | ||
|
||
namespace MinecraftLaunch.Classes.Models.Launch; | ||
|
||
public sealed record CrashReport { | ||
public string Original { get; set; } | ||
public CrashCauses CrashCauses { get; set; } | ||
public IReadOnlyCollection<string> Details { get; set; } | ||
} |
Oops, something went wrong.