ErrorCode

public enum ErrorCode extends Enum<ErrorCode>

Categorize the broad reason a Span completed unsuccessfully.

Entries

Link copied to clipboard

An application failure caused the Span to terminate

Link copied to clipboard

The operation tracked by the Span was terminated because the user abandoned and canceled it before it can complete successfully.

Link copied to clipboard

The reason for the unsuccessful termination is unknown

Properties

Link copied to clipboard
private final String name
Link copied to clipboard
private final Integer ordinal

Functions

Link copied to clipboard
public final String getName()
Link copied to clipboard
public final Integer getOrdinal()
Link copied to clipboard
public final ErrorCode valueOf(String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public final Array<ErrorCode> values()

Returns an array containing the constants of this enum type, in the order they're declared.