ErrorEntity Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ErrorEntity
- com.
Implements
public final class ErrorEntity
implements JsonSerializable<ErrorEntity>
Body of the error response returned from the API.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: Basic error code. |
|
List<Error |
details()
Get the details property: Error Details. |
| String |
extendedCode()
Get the extended |
|
static
Error |
fromJson(JsonReader jsonReader)
Reads an instance of Error |
|
List<Error |
innerErrors()
Get the inner |
| String |
message()
Get the message property: Any details of the error. |
| String |
messageTemplate()
Get the message |
| List<String> |
parameters()
Get the parameters property: Parameters for the template. |
| String |
target()
Get the target property: The error target. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
code
public String code()
Get the code property: Basic error code.
Returns:
details
public List<ErrorEntity> details()
Get the details property: Error Details.
Returns:
extendedCode
public String extendedCode()
Get the extendedCode property: Type of error.
Returns:
fromJson
public static ErrorEntity fromJson(JsonReader jsonReader)
Reads an instance of ErrorEntity from the JsonReader.
Parameters:
Returns:
Throws:
innerErrors
public List<ErrorEntity> innerErrors()
Get the innerErrors property: Inner errors.
Returns:
message
public String message()
Get the message property: Any details of the error.
Returns:
messageTemplate
public String messageTemplate()
Get the messageTemplate property: Message template.
Returns:
parameters
public List<String> parameters()
Get the parameters property: Parameters for the template.
Returns:
target
public String target()
Get the target property: The error target.
Returns:
toJson
validate
public void validate()
Validates the instance.