Class ErrorContract
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.ErrorContract
-
public final class ErrorContract extends Object
Error details. Contains details when the response code indicates an error.
-
-
Constructor Summary
Constructors Constructor Description ErrorContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorResponse
getError()
Get the error property: Error Response The error details.ErrorContract
setError(ErrorResponse error)
Set the error property: Error Response The error details.
-
-
-
Method Detail
-
getError
public ErrorResponse getError()
Get the error property: Error Response The error details.- Returns:
- the error value.
-
setError
public ErrorContract setError(ErrorResponse error)
Set the error property: Error Response The error details.- Parameters:
error
- the error value to set.- Returns:
- the ErrorContract object itself.
-
-