Error Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. videosearch. models. Error
- com.
public class Error
Defines the error that occurred.
Constructor Summary
Constructor | Description | |
---|---|---|
Error() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Error |
code()
Get the code value. |
java.lang.String |
message()
Get the message value. |
java.lang.String |
moreDetails()
Get the more |
java.lang.String |
parameter()
Get the parameter value. |
Error |
subCode()
Get the sub |
java.lang.String |
value()
Get the value value. |
Error |
withCode(ErrorCode code)
Set the code value. |
Error |
withMessage(String message)
Set the message value. |
Methods inherited from java.lang.Object
Constructor Details
Error
public Error()
Method Details
code
public ErrorCode code()
Get the code value.
Returns:
message
public String message()
Get the message value.
Returns:
moreDetails
public String moreDetails()
Get the moreDetails value.
Returns:
parameter
public String parameter()
Get the parameter value.
Returns:
subCode
public ErrorSubCode subCode()
Get the subCode value.
Returns:
value
public String value()
Get the value value.
Returns:
withCode
public Error withCode(ErrorCode code)
Set the code value.
Parameters:
Returns:
withMessage
public Error withMessage(String message)
Set the message value.
Parameters:
Returns:
Applies to
Azure SDK for Java