Class ErrorInfo
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 Summary
Constructors Constructor Description ErrorInfo()
-
Method Summary
Modifier and Type Method Description Long
getCode()
Gets the code.String
getDescription()
Gets the description.String
getErrorId()
Gets the errorId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
ErrorInfo
public ErrorInfo()
-
-
Method Details
-
getCode
Gets the code.HTTP status code.
- Returns:
- the code
-
getDescription
Gets the description.Human-readable error description. For example, `File size limit exceeded`.
- Returns:
- the description
-
getErrorId
Gets the errorId.Codified error string. For example, `limit_exceeded`.
- Returns:
- the errorId
-