ENUM
CreatePredictionEventErrorCode
Possible error codes from the createPredictionEvent mutation.
link GraphQL Schema definition
1 enum CreatePredictionEventErrorCode { 2 3 # The current user is forbidden from creating Prediction Events on the specified 4 # channel. 5 6 7 # User attempted to create a Prediction Event with restricted content. 8 9 10 # There is already an active or pending Prediction Event on the channel. The Event 11 # must be resolved before a new 12 # Prediction Event can be created. 13 14 15 # Channel Points are not enabled on this channel. 16 17 18 # The colors chosen for each Option must be unique. 19 20 21 # Events must have at least 2 Outcomes. 22 23 24 # Events have a maximum number of Outcomes. 25 26 27 # The specified Prediction Window is invalid. Prediction window must be positive. 28 # Prediction window has a maximum. 29 30 31 # An unknown error occurred. 32 33 }