com.slack.api.model.event.ErrorEvent Maven / Gradle / Ivy
package com.slack.api.model.event;
import lombok.Data;
/**
* 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
*/
@Data
public class ErrorEvent implements Event {
public static final String TYPE_NAME = "error";
private final String type = TYPE_NAME;
private Error error;
@Data
public static class Error {
private Integer code;
private String msg;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy