public static class EPRunAsyncTaskResponse.Error
extends EPRunAsyncTaskResponse
asynchronous task running error.
EPRunAsyncTaskResponse.CustomMessage, EPRunAsyncTaskResponse.Default, EPRunAsyncTaskResponse.Error
Constructor and Description |
---|
Error(java.util.List<co.eightysixpercent.bot.model.EPContextObject> contextData,
java.lang.Exception error)
asynchronous task running error.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getError()
The text in the error will be used to show the error bubble that will allow the user to retry
|
void |
setError(java.lang.Exception p)
The text in the error will be used to show the error bubble that will allow the user to retry
|
getContextData, setContextData
public Error(java.util.List<co.eightysixpercent.bot.model.EPContextObject> contextData, java.lang.Exception error)
asynchronous task running error.
error
- The text in the error will be used to show the error bubble that will allow the user to retrypublic java.lang.Exception getError()
The text in the error will be used to show the error bubble that will allow the user to retry
public void setError(java.lang.Exception p)
The text in the error will be used to show the error bubble that will allow the user to retry
p
- The text in the error will be used to show the error bubble that will allow the user to retry