Package com.azure.compute.batch.models
Class ErrorCategory
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ErrorCategory>
com.azure.compute.batch.models.ErrorCategory
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
ErrorCategory enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ErrorCategory
The error is due to an internal server issue.static final ErrorCategory
The error is due to a user issue, such as misconfiguration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorCategory
fromString
(String name) Creates or finds a ErrorCategory from its string representation.static Collection
<ErrorCategory> values()
Gets known ErrorCategory values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
USER_ERROR
The error is due to a user issue, such as misconfiguration. -
SERVER_ERROR
The error is due to an internal server issue.
-
-
Constructor Details
-
ErrorCategory
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ErrorCategory value.
-
-
Method Details
-
fromString
Creates or finds a ErrorCategory from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ErrorCategory.
-
values
Gets known ErrorCategory values.- Returns:
- known ErrorCategory values.
-
fromString(String)
factory method.