Share via


RunStepErrorCode Class

public final class RunStepErrorCode
extends ExpandableStringEnum<RunStepErrorCode>

Possible error code values attributable to a failed run step.

Field Summary

Modifier and Type Field and Description
static final RunStepErrorCode RATE_LIMIT_EXCEEDED

Represents an error indicating configured rate limits were exceeded.

static final RunStepErrorCode SERVER_ERROR

Represents a server error.

Constructor Summary

Constructor Description
RunStepErrorCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunStepErrorCode value.

Method Summary

Modifier and Type Method and Description
static RunStepErrorCode fromString(String name)

Creates or finds a RunStepErrorCode from its string representation.

static Collection<RunStepErrorCode> values()

Gets known RunStepErrorCode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

RATE_LIMIT_EXCEEDED

public static final RunStepErrorCode RATE_LIMIT_EXCEEDED

Represents an error indicating configured rate limits were exceeded.

SERVER_ERROR

public static final RunStepErrorCode SERVER_ERROR

Represents a server error.

Constructor Details

RunStepErrorCode

@Deprecated
public RunStepErrorCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunStepErrorCode value.

Method Details

fromString

public static RunStepErrorCode fromString(String name)

Creates or finds a RunStepErrorCode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RunStepErrorCode.

values

public static Collection<RunStepErrorCode> values()

Gets known RunStepErrorCode values.

Returns:

known RunStepErrorCode values.

Applies to