ComputerVisionErrorResponse Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.ComputerVisionErrorResponse

public class ComputerVisionErrorResponse

The API error response.

Method Summary

Modifier and Type Method and Description
ComputerVisionError error()

Get the error value.

ComputerVisionErrorResponse 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