Exception | Description |
---|---|
ConflictingTypesException |
Thrown when the schema being generated has two classes with the same GraphQLType name,
but they are not the same Kotlin class. We can not have the full package or classpath info
in the GraphQLType so all names must be unique.
|
CouldNotCastArgumentException | |
CouldNotGetNameOfKClassException |
Thrown when trying to generate a class and cannot resolve the name.
|
CouldNotGetNameOfKParameterException |
Thrown when trying to generate a parameter and cannot resolve the name.
|
GraphQLKotlinException |
Base exception that all our library exceptions extend from.
|
InvalidIdTypeException |
Throws when the KClass is not one of the supported types for a GraphQLID
|
InvalidInputFieldTypeException |
GraphQL Interfaces and Unions cannot be used as arguments.
Specification reference: https://facebook.github.io/graphql/draft/#sec-Field-Arguments
|
InvalidListTypeException |
Thrown on mapping an invalid list type
|
InvalidMutationTypeException |
Exception thrown on schema creation if any mutation class is not public.
|
InvalidQueryTypeException |
Exception thrown on schema creation if any query class is not public.
|
InvalidSchemaDirectiveWiringException |
Thrown when the provided SchemaDirectiveWiring returns a null element
|
InvalidSchemaException |
Exception thrown on schema creation if no queries are specified.
|
NestingNonNullTypeException |
Throws on nesting a non-null graphql type twice.
|
TypeNotSupportedException |
Thrown when the generator does not have a type to map to in GraphQL or in the hooks.
|