ENUM

CreatePollErrorCode

Vote in poll error code.

link GraphQL Schema definition

1enum CreatePollErrorCode {
2
3# User attempted to create poll with restricted content.
4AUTOMOD_FAILED
5
6# User attempted to create poll when a poll was already active.
7POLL_ALREADY_ACTIVE
8
9# User attempted to create poll with bits on a channel where bits are not enabled.
10CHANNEL_NOT_BITS_ENABLED
11
12# An unknown error occurred.
13UNKNOWN
14}