ENUM

CompetitionErrorCode

Enum for user errors.

link GraphQL Schema definition

1enum CompetitionErrorCode {
2
3# Used when an argument is missing but was required.
4REQUIRED_ARGUMENT
5
6# Used when an argument that is passed in is invalid in some way.
7INVALID_ARGUMENT
8
9# Used when an attempt to add a resource but that resource already exists.
10ALREADY_EXISTS
11
12# Used when the registration limit on the competition has been reached.
13LIMIT_REACHED
14
15# Used when a competition field fails to pass automod.
16AUTOMOD_FAILED
17
18# Used when the error is unknown.
19UNKNOWN
20}