APIError Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. APIError
- com.
public class APIError
Error information returned by the API.
Method Summary
Modifier and Type | Method and Description |
---|---|
Error |
error()
Get the error value. |
APIError |
withError(Error error)
Set the error value. |
Method Details
error
public Error error()
Get the error value.
Returns:
the error value
withError
public APIError withError(Error error)
Set the error value.
Parameters:
error
- the error value to set
Returns:
the APIError object itself.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應