Package com.azure.quantum.jobs.models
Class RestError
java.lang.Object
com.azure.quantum.jobs.models.RestError
Error information returned by the API.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RestError
public RestError()
-
-
Method Details
-
getError
Get the error property: An error response from Azure.- Returns:
- the error value.
-
setError
Set the error property: An error response from Azure.- Parameters:
error
- the error value to set.- Returns:
- the RestError object itself.
-