### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.Error"
fullName: "com.azure.resourcemanager.network.models.Error"
name: "Error"
nameWithType: "Error"
summary: "Common error representation."
inheritances:
- ""
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "wait"
- "wait"
- "wait"
syntax: "public final class **Error** extends "
constructors:
- uid: "com.azure.resourcemanager.network.models.Error.Error()"
fullName: "com.azure.resourcemanager.network.models.Error.Error()"
name: "Error()"
nameWithType: "Error.Error()"
summary: "Creates an instance of Error class."
syntax: "public Error()"
desc: "Creates an instance of Error class."
methods:
- uid: "com.azure.resourcemanager.network.models.Error.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.Error.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Error.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Error from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static Error fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Error."
type: "IOException"
desc: "Reads an instance of Error from the JsonReader."
returns:
description: "An instance of Error if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: ""
- uid: "com.azure.resourcemanager.network.models.Error.getAdditionalInfo()"
fullName: "com.azure.resourcemanager.network.models.Error.getAdditionalInfo()"
name: "getAdditionalInfo()"
nameWithType: "Error.getAdditionalInfo()"
summary: "Get the additionalInfo property: Additional info for the error."
overridden: "com.azure.core.management.exception.ManagementError.getAdditionalInfo()"
syntax: "public List getAdditionalInfo()"
desc: "Get the additionalInfo property: Additional info for the error."
returns:
description: "the additionalInfo value."
type: "List<>"
- uid: "com.azure.resourcemanager.network.models.Error.getCode()"
fullName: "com.azure.resourcemanager.network.models.Error.getCode()"
name: "getCode()"
nameWithType: "Error.getCode()"
summary: "Get the code property: The error code parsed from the body of the http error response."
overridden: "com.azure.core.management.exception.ManagementError.getCode()"
syntax: "public String getCode()"
desc: "Get the code property: The error code parsed from the body of the http error response."
returns:
description: "the code value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.Error.getDetails()"
fullName: "com.azure.resourcemanager.network.models.Error.getDetails()"
name: "getDetails()"
nameWithType: "Error.getDetails()"
summary: "Get the details property: Details for the error."
overridden: "com.azure.core.management.exception.ManagementError.getDetails()"
syntax: "public List getDetails()"
desc: "Get the details property: Details for the error."
returns:
description: "the details value."
type: "List<>"
- uid: "com.azure.resourcemanager.network.models.Error.getInnerError()"
fullName: "com.azure.resourcemanager.network.models.Error.getInnerError()"
name: "getInnerError()"
nameWithType: "Error.getInnerError()"
summary: "Get the innerError property: Inner error message."
syntax: "public String getInnerError()"
desc: "Get the innerError property: Inner error message."
returns:
description: "the innerError value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.Error.getMessage()"
fullName: "com.azure.resourcemanager.network.models.Error.getMessage()"
name: "getMessage()"
nameWithType: "Error.getMessage()"
summary: "Get the message property: The error message parsed from the body of the http error response."
overridden: "com.azure.core.management.exception.ManagementError.getMessage()"
syntax: "public String getMessage()"
desc: "Get the message property: The error message parsed from the body of the http error response."
returns:
description: "the message value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.Error.getTarget()"
fullName: "com.azure.resourcemanager.network.models.Error.getTarget()"
name: "getTarget()"
nameWithType: "Error.getTarget()"
summary: "Get the target property: The target of the error."
overridden: "com.azure.core.management.exception.ManagementError.getTarget()"
syntax: "public String getTarget()"
desc: "Get the target property: The target of the error."
returns:
description: "the target value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.Error.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.Error.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Error.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.core.management.exception.ManagementError.toJson(com.azure.json.JsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.network.models.Error.validate()"
fullName: "com.azure.resourcemanager.network.models.Error.validate()"
name: "validate()"
nameWithType: "Error.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
type: "class"
desc: "Common error representation."
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0