Enum Class ErrorMode

java.lang.Object
java.lang.Enum<ErrorMode>
io.reactivex.rxjava3.internal.util.ErrorMode
All Implemented Interfaces:
Serializable, Comparable<ErrorMode>, Constable

public enum ErrorMode extends Enum<ErrorMode>
Indicates when an error from the main source should be reported.
  • Enum Constant Details

    • IMMEDIATE

      public static final ErrorMode IMMEDIATE
      Report the error immediately, cancelling the active inner source.
    • BOUNDARY

      public static final ErrorMode BOUNDARY
      Report error after an inner source terminated.
    • END

      public static final ErrorMode END
      Report the error after all sources terminated.
  • Constructor Details

    • ErrorMode

      private ErrorMode()
  • Method Details

    • values

      public static ErrorMode[] 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 ErrorMode 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