Class ResponseError

java.lang.Object
com.azure.core.models.ResponseError

public final class ResponseError extends Object
This class represents the error details of an HTTP response.
  • Constructor Details

    • ResponseError

      public ResponseError(String code, String message)
      Creates an instance of ResponseError.
      Parameters:
      code - the error code of this error.
      message - the error message of this error.
  • Method Details

    • getCode

      public String getCode()
      Returns the error code of this error.
      Returns:
      the error code of this error.
    • getMessage

      public String getMessage()
      Returns the error message of this error.
      Returns:
      the error message of this error.