### YamlMime:JavaType
uid: "com.microsoft.azure.cognitiveservices.search.visualsearch.models.ErrorResponse"
fullName: "com.microsoft.azure.cognitiveservices.search.visualsearch.models.ErrorResponse"
name: "ErrorResponse"
nameWithType: "ErrorResponse"
summary: "The top-level response that represents a failed request."
inheritances:
- ""
- ""
- ""
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- classRef: ""
methodsRef:
- ""
- ""
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
syntax: "public class **ErrorResponse** extends "
constructors:
- uid: "com.microsoft.azure.cognitiveservices.search.visualsearch.models.ErrorResponse.ErrorResponse()"
fullName: "com.microsoft.azure.cognitiveservices.search.visualsearch.models.ErrorResponse.ErrorResponse()"
name: "ErrorResponse()"
nameWithType: "ErrorResponse.ErrorResponse()"
syntax: "public ErrorResponse()"
methods:
- uid: "com.microsoft.azure.cognitiveservices.search.visualsearch.models.ErrorResponse.errors()"
fullName: "com.microsoft.azure.cognitiveservices.search.visualsearch.models.ErrorResponse.errors()"
name: "errors()"
nameWithType: "ErrorResponse.errors()"
summary: "Get the errors value."
syntax: "public List errors()"
desc: "Get the errors value."
returns:
description: "the errors value"
type: "<>"
- uid: "com.microsoft.azure.cognitiveservices.search.visualsearch.models.ErrorResponse.withErrors(java.util.List)"
fullName: "com.microsoft.azure.cognitiveservices.search.visualsearch.models.ErrorResponse.withErrors(List errors)"
name: "withErrors(List errors)"
nameWithType: "ErrorResponse.withErrors(List errors)"
summary: "Set the errors value."
parameters:
- description: "the errors value to set"
name: "errors"
type: "<>"
syntax: "public ErrorResponse withErrors(List errors)"
desc: "Set the errors value."
returns:
description: "the ErrorResponse object itself."
type: ""
type: "class"
desc: "The top-level response that represents a failed request."
metadata: {}
package: "com.microsoft.azure.cognitiveservices.search.visualsearch.models"
artifact: com.microsoft.azure.cognitiveservices:azure-cognitiveservices-visualsearch:1.0.2-beta