Package com.expediagroup.graphql.generator.exceptions
See: Description
-
Class Summary Class Description ConflictingFieldsException Thrown when the schema being generated has two functions or attributes with the same field name in a GraphQLType. ConflictingTypesException Thrown when the schema being generated has two classes with the same GraphQLType name, but they are not the same Kotlin class. CouldNotCastGraphQLSchemaElement Thrown when the casting a GraphQLSchemaElement to some parent type is invalid 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. EmptyInputObjectTypeException Thrown when schema input object type does not expose any fields. EmptyInterfaceTypeException Thrown when interface type does not expose any fields - this should never happen unless we explicitly exclude fields from interface either through annotating fields with @GraphQLIgnore or by custom hooks that filter out available functions. EmptyObjectTypeException Thrown when schema object type does not expose any fields. GraphQLKotlinException Base exception that all our library exceptions extend from. InvalidCustomUnionException InvalidGraphQLEnumValueException Thrown when Enum value contains non-alphanumeric ASCII or underscore characters. InvalidGraphQLNameException Thrown when Object, Input Object, Interface, Union or Enum name contains non-alphanumeric ASCII or underscore characters. InvalidInputFieldTypeException GraphQL Interfaces and Unions cannot be used as arguments. InvalidMutationTypeException Exception thrown on schema creation if any mutation class is not public. InvalidObjectLocationException Thrown when the schema is using a Kotlin class in an invalid location marked by GraphQLValidObjectLocations. InvalidPackagesException Thrown when the scanned packages contain no classes InvalidQueryTypeException Exception thrown on schema creation if any query class is not public. InvalidSchemaDirectiveWiringException Thrown when the provided SchemaDirectiveWiring returns a null element InvalidSubscriptionTypeException InvalidUnionException InvalidWrappedTypeException Thrown on mapping an invalid wrapped type TypeNotSupportedException Thrown when the generator does not have a type to map to in GraphQL or in the hooks. -
Object Summary Object Description EmptyMutationTypeException Thrown when generated GraphQL Mutation type does not expose any fields. EmptyQueryTypeException Thrown when generated GraphQL Query type does not expose any fields. EmptySubscriptionTypeException Thrown when generated GraphQL Subscription type does not expose any fields.