ErrorResponse Class
- java.
lang. Object - ResponseBase
- Identifiable
- Response
- com.
microsoft. azure. cognitiveservices. search. autosuggest. 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
Response.adaptiveCard()
Identifiable.id()
Response.immediateAction()
Response.potentialAction()
Response.preferredClickthroughUrl()
Response.readLink()
Response.webSearchUrl()
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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for Java
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk