java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v3.model.ErrorInfo
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ErrorInfo
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about what might have caused a failure, such as an image that is too large. Not returned when there is no error.
  • Constructor Details

    • ErrorInfo

      public ErrorInfo()
  • Method Details

    • getCode

      public Long getCode()
      Gets the code.

      HTTP status code.

      Returns:
      the code
    • getDescription

      public String getDescription()
      Gets the description.

      Human-readable error description. For example, `File size limit exceeded`.

      Returns:
      the description
    • getErrorId

      public String getErrorId()
      Gets the errorId.

      Codified error string. For example, `limit_exceeded`.

      Returns:
      the errorId