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.
|
CouldNotGetJvmNameOfKTypeException |
Thrown when trying to generate a class and cannot resolve the jvm erasure name.
|
CouldNotGetNameOfAnnotationException |
Thrown when unable to get the annotaiton name of a KAnnotatedElement.
|
CouldNotGetNameOfEnumException |
Thrown when trying to generate an enum class and cannot resolve the simple name.
|
GraphQLKotlinException |
Base exception that all our library exceptions extend from.
|
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
|
InvalidSchemaException |
Exception thrown on schema creation if no queries and no mutations 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.
|