Class ErrorContract
java.lang.Object
com.azure.analytics.synapse.artifacts.models.ErrorContract
Error details.
Contains details when the response code indicates an error.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
Get the error property: Error ResponsesetError
(ErrorResponse error) Set the error property: Error Response
-
Constructor Details
-
ErrorContract
public ErrorContract()Creates an instance of ErrorContract class.
-
-
Method Details
-
getError
Get the error property: Error ResponseThe error details.
- Returns:
- the error value.
-
setError
Set the error property: Error ResponseThe error details.
- Parameters:
error
- the error value to set.- Returns:
- the ErrorContract object itself.
-