ENUM

CreateCommunityPointsCommunityGoalErrorCode

Create community goal error code.

link GraphQL Schema definition

1enum CreateCommunityPointsCommunityGoalErrorCode {
2
3# Goal already exists.
4DUPLICATE_GOAL
5
6# Goal title failed automod.
7TITLE_AUTOMOD_FAILED
8
9# Goal title is invalid.
10TITLE_INVALID
11
12# Goal description failed automod.
13DESCRIPTION_AUTOMOD_FAILED
14
15# Goal description is invalid.
16DESCRIPTION_INVALID
17
18# Goal amount is invalid.
19GOAL_AMOUNT_INVALID
20
21# Goal duration is invalid.
22DURATION_INVALID
23
24# Goal background color is invalid.
25BACKGROUND_COLOR_INVALID
26
27# Too many goals already exists.
28TOO_MANY_GOALS
29
30# The current user is not allowed to create goals for this channel.
31FORBIDDEN
32
33# An unknown error occurred.
34UNKNOWN
35}