Class RestError

java.lang.Object
com.azure.quantum.jobs.models.RestError

public final class RestError extends Object
Error information returned by the API.
  • Constructor Details

    • RestError

      public RestError()
  • Method Details

    • getError

      public ErrorData getError()
      Get the error property: An error response from Azure.
      Returns:
      the error value.
    • setError

      public RestError setError(ErrorData error)
      Set the error property: An error response from Azure.
      Parameters:
      error - the error value to set.
      Returns:
      the RestError object itself.