ErrorResponse Class
- java.
lang. Object - com.
microsoft. bot. schema. ErrorResponse
- com.
public class ErrorResponse
An HTTP API response.
Constructor Summary
| Constructor | Description |
|---|---|
| ErrorResponse() |
Empty Error |
| ErrorResponse(Error withError) |
Error |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Error |
getError()
Get the error value. |
| void |
setError(Error withError)
Set the error value. |
Methods inherited from java.lang.Object
Constructor Details
ErrorResponse
public ErrorResponse()
Empty ErrorResponse.
ErrorResponse
public ErrorResponse(Error withError)
ErrorResponse with contained Error.
Parameters:
Method Details
getError
public Error getError()
Get the error value.
Returns:
setError
public void setError(Error withError)
Set the error value.
Parameters: