ENUM

VoteInAdPollErrorCode

Vote in poll error code.

link GraphQL Schema definition

1enum VoteInAdPollErrorCode {
2
3# User tried to vote in a poll that doesn't exist i.e. there is no poll running at
4# all).
5POLL_NOT_FOUND
6
7# User tried to vote in a poll that is not active.
8POLL_NOT_ACTIVE
9
10# Request has a vote ID that is in progress or has already been submitted.
11VOTE_ID_CONFLICT
12
13# Voter is trying to vote more times than the maximum number of times that the
14# poll allows.
15MAX_VOTE_LIMIT_ERROR
16
17# User is trying to vote for another choice in a poll that only allows one choice.
18MULTI_CHOICE_VOTE_FORBIDDEN
19
20# Request is for a choice ID that invalid.
21INVALID_CHOICE_ID
22
23# An unknown error occurred.
24UNKNOWN
25}