ErrorContract Class

  • java.lang.Object
    • com.azure.analytics.synapse.accesscontrol.models.ErrorContract

public final class ErrorContract

Contains details when the response code indicates an error.

Constructor Summary

Constructor Description
ErrorContract()

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

ErrorContract

public ErrorContract()

Method Details

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.

Applies to