Enum Class IMixinErrorHandler.ErrorAction

java.lang.Object
java.lang.Enum<IMixinErrorHandler.ErrorAction>
org.spongepowered.asm.mixin.extensibility.IMixinErrorHandler.ErrorAction
All Implemented Interfaces:
Serializable, Comparable<IMixinErrorHandler.ErrorAction>, Constable
Enclosing interface:
IMixinErrorHandler

public static enum IMixinErrorHandler.ErrorAction extends Enum<IMixinErrorHandler.ErrorAction>
Action to take when handling an error. By default, if a config is marked as "required" then the default action will be ERROR, and will be WARN otherwise.
  • Enum Constant Details

  • Field Details

    • logLevel

      public final Level logLevel
      Logging level for the specified error action
  • Method Details

    • values

      public static IMixinErrorHandler.ErrorAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IMixinErrorHandler.ErrorAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null