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 Details

    • ErrorContract

      public ErrorContract()
      Creates an instance of ErrorContract class.
  • 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.