ErrorCode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.cognitiveservices.search.videosearch.models.ErrorCode

public enum ErrorCode
extends java.lang.Enum<ErrorCode>

Defines values for ErrorCode.

Fields

INSUFFICIENT_AUTHORIZATION

Enum value InsufficientAuthorization.

INVALID_AUTHORIZATION

Enum value InvalidAuthorization.

INVALID_REQUEST

Enum value InvalidRequest.

NONE

Enum value None.

RATE_LIMIT_EXCEEDED

Enum value RateLimitExceeded.

SERVER_ERROR

Enum value ServerError.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

fromString(String value)

public static ErrorCode fromString(String value)

Parses a serialized value to a ErrorCode instance.

Parameters

value
java.lang.String
the serialized value to parse.

Returns

the parsed ErrorCode object, or null if unable to parse.

toString()

public String toString()

Returns

java.lang.String
Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ErrorCode valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static ErrorCode[] values()

Returns

Applies to