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

public final class ErrorContract extends Object
Contains details when the response code indicates an error.
  • 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.