EventError

public enum EventError: Error

An error which happened while the bot was processing a chat event.

  • This is caused when the library cannot parse the specified json.

    Declaration

    Swift

    case jsonParsingFailed(json: String)
  • This is caused when the chat room event type is invalid.

    Declaration

    Swift

    case invalidEventType(type: Int)