ComputerVisionErrorResponse Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ComputerVisionErrorResponse
- com.
public class ComputerVisionErrorResponse
The API error response.
Method Summary
Modifier and Type | Method and Description |
---|---|
Computer |
error()
Get the error value. |
Computer |
withError(ComputerVisionError error)
Set the error value. |
Method Details
error
public ComputerVisionError error()
Get the error value.
Returns:
the error value
withError
public ComputerVisionErrorResponse withError(ComputerVisionError error)
Set the error value.
Parameters:
error
- the error value to set
Returns:
the ComputerVisionErrorResponse object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java