Package com.slack.api.model.event
Class ErrorEvent
- java.lang.Object
-
- com.slack.api.model.event.ErrorEvent
-
- All Implemented Interfaces:
Event,Serializable
public class ErrorEvent extends Object implements Event
If there was a problem connecting an error will be returned, including a descriptive error message:{ "type": "error", "error": { "code": 1, "msg": "Socket URL has expired" } }https://api.slack.com/rtm
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classErrorEvent.Error
-
Constructor Summary
Constructors Constructor Description ErrorEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ErrorEvent.ErrorgetError()StringgetType()inthashCode()voidsetError(ErrorEvent.Error error)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.slack.api.model.event.Event
getSubtype
-
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getError
public ErrorEvent.Error getError()
-
setError
public void setError(ErrorEvent.Error error)
-
canEqual
protected boolean canEqual(Object other)
-
-