ErrorResponse Class
- java.
lang. Object - ResponseBase
- Identifiable
- Response
- com.
microsoft. azure. cognitiveservices. search. websearch. models. ErrorResponse
- com.
public class ErrorResponse extends Response
The top-level response that represents a failed request.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Error> |
errors()
Get the errors value. |
Error |
withErrors(List<Error> errors)
Set the errors value. |
Inherited Members
Method Details
errors
public List
Get the errors value.
Returns:
the errors value
withErrors
public ErrorResponse withErrors(List
Set the errors value.
Parameters:
errors
- the errors value to set
Returns:
the ErrorResponse object itself.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for Java