Enum Class ErrorReason

java.lang.Object
java.lang.Enum<ErrorReason>
io.webfolder.cdp.type.network.ErrorReason
All Implemented Interfaces:
Serializable, Comparable<ErrorReason>, java.lang.constant.Constable

public enum ErrorReason extends Enum<ErrorReason>
Network level fetch failure reason
  • Enum Constant Details

    • Failed

      @SerializedName("Failed") public static final ErrorReason Failed
    • Aborted

      @SerializedName("Aborted") public static final ErrorReason Aborted
    • TimedOut

      @SerializedName("TimedOut") public static final ErrorReason TimedOut
    • AccessDenied

      @SerializedName("AccessDenied") public static final ErrorReason AccessDenied
    • ConnectionClosed

      @SerializedName("ConnectionClosed") public static final ErrorReason ConnectionClosed
    • ConnectionReset

      @SerializedName("ConnectionReset") public static final ErrorReason ConnectionReset
    • ConnectionRefused

      @SerializedName("ConnectionRefused") public static final ErrorReason ConnectionRefused
    • ConnectionAborted

      @SerializedName("ConnectionAborted") public static final ErrorReason ConnectionAborted
    • ConnectionFailed

      @SerializedName("ConnectionFailed") public static final ErrorReason ConnectionFailed
    • NameNotResolved

      @SerializedName("NameNotResolved") public static final ErrorReason NameNotResolved
    • InternetDisconnected

      @SerializedName("InternetDisconnected") public static final ErrorReason InternetDisconnected
    • AddressUnreachable

      @SerializedName("AddressUnreachable") public static final ErrorReason AddressUnreachable
    • BlockedByClient

      @SerializedName("BlockedByClient") public static final ErrorReason BlockedByClient
    • BlockedByResponse

      @SerializedName("BlockedByResponse") public static final ErrorReason BlockedByResponse
  • Field Details

    • value

      public final String value
  • Method Details

    • values

      public static ErrorReason[] 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 ErrorReason 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ErrorReason>