Uses of Interface
graphql.GraphQLError
Packages that use GraphQLError
Package
Description
-
Uses of GraphQLError in graphql
Classes in graphql that implement GraphQLErrorModifier and TypeClassDescriptionclassThis graphql error will be used if a runtime exception is encountered while a data fetcher is invokedprivate static classclassA base class for graphql runtime exceptions that also implementGraphQLErrorand can be used in a general sense direct or have specialisations made of it.classclassclassclassFields in graphql with type parameters of type GraphQLErrorModifier and TypeFieldDescriptionprivate List<GraphQLError> ExecutionResultImpl.Builder.errorsprivate final List<GraphQLError> ExecutionResultImpl.errorsMethods in graphql that return GraphQLErrorMethods in graphql that return types with arguments of type GraphQLErrorModifier and TypeMethodDescriptionExecutionResult.getErrors()ExecutionResultImpl.getErrors()ParseAndValidateResult.getErrors()A list of all the errors (parse and validate) that have occurredMethods in graphql with parameters of type GraphQLErrorModifier and TypeMethodDescriptionExecutionResult.Builder.addError(GraphQLError error) Adds the error to any existing the errors for this builderExecutionResultImpl.Builder.addError(GraphQLError error) static booleanGraphqlErrorHelper.equals(GraphQLError dis, Object o) static intGraphqlErrorHelper.hashCode(GraphQLError dis) default ObjectErrorClassification.toSpecification(GraphQLError error) This is called to create a representation of the error classification that can be put into the `extensions` map of the graphql error under the key 'classification' whenGraphQLError.toSpecification()is calledGraphqlErrorHelper.toSpecification(GraphQLError error) Method parameters in graphql with type arguments of type GraphQLErrorModifier and TypeMethodDescriptionExecutionResult.Builder.addErrors(List<GraphQLError> errors) Adds the error list to any existing the errors for this builderExecutionResultImpl.Builder.addErrors(List<GraphQLError> errors) ExecutionResult.Builder.errors(List<GraphQLError> errors) Sets error list as the errors for this builderExecutionResultImpl.Builder.errors(List<GraphQLError> errors) private ObjectExecutionResultImpl.errorsToSpec(List<GraphQLError> errors) Constructors in graphql with parameters of type GraphQLErrorConstructor parameters in graphql with type arguments of type GraphQLErrorModifierConstructorDescriptionprivateExecutionResultImpl(boolean dataPresent, Object data, List<? extends GraphQLError> errors, Map<Object, Object> extensions) ExecutionResultImpl(Object data, List<? extends GraphQLError> errors) ExecutionResultImpl(Object data, List<? extends GraphQLError> errors, Map<Object, Object> extensions) ExecutionResultImpl(List<? extends GraphQLError> errors) -
Uses of GraphQLError in graphql.execution
Classes in graphql.execution that implement GraphQLErrorModifier and TypeClassDescriptionclassThis Exception indicates that the current execution should be aborted.classhttps://facebook.github.io/graphql/#sec-Input-Objects - This unordered map should not contain any entries with names not defined by a field of this input object type, otherwise an error should be thrown.classThis is thrown if a query is attempting to perform an operation not defined in the GraphQL schemaclassThis is the base error that indicates that a non null field value was in fact null.classThis is thrown if a non nullable value is coerced to a null valueclassThe input map to One Of Input Types MUST only have 1 entry with a non null valueclassThe input map to One Of Input Types MUST only have 1 entryclassThis is thrown if multiple operations are defined in the query and the operation name is missing or there is no matching operation name contained in the GraphQL query.Fields in graphql.execution with type parameters of type GraphQLErrorModifier and TypeFieldDescriptionprivate final List<GraphQLError> DataFetcherExceptionHandlerResult.Builder.errorsprivate final List<GraphQLError> DataFetcherExceptionHandlerResult.errorsprivate final List<GraphQLError> DataFetcherResult.Builder.errorsprivate final List<GraphQLError> DataFetcherResult.errorsprivate final AtomicReference<com.google.common.collect.ImmutableList<GraphQLError>> ExecutionContext.errors(package private) com.google.common.collect.ImmutableList<GraphQLError> ExecutionContextBuilder.errorsprivate com.google.common.collect.ImmutableList<GraphQLError> FetchedValue.Builder.errorsprivate final com.google.common.collect.ImmutableList<GraphQLError> FetchedValue.errorsprivate final List<GraphQLError> AbortExecutionException.underlyingErrorsMethods in graphql.execution that return types with arguments of type GraphQLErrorModifier and TypeMethodDescriptionDataFetcherExceptionHandlerResult.getErrors()DataFetcherResult.getErrors()ExecutionContext.getErrors()FetchedValue.getErrors()AbortExecutionException.getUnderlyingErrors()Methods in graphql.execution with parameters of type GraphQLErrorModifier and TypeMethodDescriptionvoidExecutionContext.addError(GraphQLError error) This method will allow you to add errors into the running execution context, without a check for per field unique-nessvoidExecutionContext.addError(GraphQLError error, ResultPath fieldPath) This method will only put one error per field path.DataFetcherExceptionHandlerResult.Builder.error(GraphQLError error) DataFetcherResult.Builder.error(GraphQLError error) DataFetcherExceptionHandlerResult.newResult(GraphQLError error) Method parameters in graphql.execution with type arguments of type GraphQLErrorModifier and TypeMethodDescriptionvoidExecutionContext.addErrors(List<GraphQLError> errors) This method will allow you to add errors into the running execution context, without a check for per field unique-nessDataFetcherExceptionHandlerResult.Builder.errors(List<GraphQLError> errors) DataFetcherResult.Builder.errors(List<GraphQLError> errors) FetchedValue.Builder.errors(List<GraphQLError> errors) Constructor parameters in graphql.execution with type arguments of type GraphQLErrorModifierConstructorDescriptionAbortExecutionException(Collection<GraphQLError> underlyingErrors) DataFetcherResult(T data, List<GraphQLError> errors) Deprecated.privateDataFetcherResult(T data, List<GraphQLError> errors, Object localContext, Map<Object, Object> extensions) (package private)FetchedValue(Object fetchedValue, Object rawFetchedValue, com.google.common.collect.ImmutableList<GraphQLError> errors, Object localContext) -
Uses of GraphQLError in graphql.execution.instrumentation.fieldvalidation
Classes in graphql.execution.instrumentation.fieldvalidation that implement GraphQLErrorFields in graphql.execution.instrumentation.fieldvalidation with type parameters of type GraphQLErrorModifier and TypeFieldDescriptionprivate final Map<ResultPath, BiFunction<FieldAndArguments, FieldValidationEnvironment, Optional<GraphQLError>>> SimpleFieldValidation.rulesMethods in graphql.execution.instrumentation.fieldvalidation that return GraphQLErrorModifier and TypeMethodDescriptionThis helper method allows you to make error messages to be passed back out in case of validation failure.FieldValidationEnvironment.mkError(String msg, FieldAndArguments fieldAndArguments) This helper method allows you to make error messages to be passed back out in case of validation failure.FieldValidationSupport.FieldValidationEnvironmentImpl.mkError(String msg, FieldAndArguments fieldAndArguments) Methods in graphql.execution.instrumentation.fieldvalidation that return types with arguments of type GraphQLErrorModifier and TypeMethodDescriptionFieldValidation.validateFields(FieldValidationEnvironment validationEnvironment) This is called to validate the fields and their argumentsSimpleFieldValidation.validateFields(FieldValidationEnvironment validationEnvironment) (package private) static List<GraphQLError> FieldValidationSupport.validateFieldsAndArguments(FieldValidation fieldValidation, ExecutionContext executionContext) Method parameters in graphql.execution.instrumentation.fieldvalidation with type arguments of type GraphQLErrorModifier and TypeMethodDescriptionSimpleFieldValidation.addRule(ResultPath fieldPath, BiFunction<FieldAndArguments, FieldValidationEnvironment, Optional<GraphQLError>> rule) Adds the rule against the field address path. -
Uses of GraphQLError in graphql.execution.preparsed
Fields in graphql.execution.preparsed with type parameters of type GraphQLErrorModifier and TypeFieldDescriptionprivate final List<? extends GraphQLError> PreparsedDocumentEntry.errorsMethods in graphql.execution.preparsed that return types with arguments of type GraphQLErrorModifier and TypeMethodDescriptionList<? extends GraphQLError> PreparsedDocumentEntry.getErrors()Constructors in graphql.execution.preparsed with parameters of type GraphQLErrorConstructor parameters in graphql.execution.preparsed with type arguments of type GraphQLErrorModifierConstructorDescriptionPreparsedDocumentEntry(Document document, List<? extends GraphQLError> errors) PreparsedDocumentEntry(List<? extends GraphQLError> errors) -
Uses of GraphQLError in graphql.introspection
Classes in graphql.introspection that implement GraphQLErrorModifier and TypeClassDescriptionstatic classclass -
Uses of GraphQLError in graphql.relay
Classes in graphql.relay that implement GraphQLError -
Uses of GraphQLError in graphql.schema
Classes in graphql.schema that implement GraphQLErrorModifier and TypeClassDescriptionclassclassclass -
Uses of GraphQLError in graphql.schema.idl
Methods in graphql.schema.idl with type parameters of type GraphQLErrorModifier and TypeMethodDescription(package private) static <T, E extends GraphQLError>
voidSchemaTypeChecker.checkNamedUniqueness(List<GraphQLError> errors, List<T> listOfNamedThings, Function<T, String> namer, BiFunction<String, T, E> errorFunction) A simple function that takes a list of things, asks for their names and checks that the names are unique within that list.Methods in graphql.schema.idl that return GraphQLErrorModifier and TypeMethodDescriptionprivate GraphQLErrorTypeDefinitionRegistry.handleReDefinition(DirectiveDefinition oldEntry, DirectiveDefinition newEntry) private GraphQLErrorTypeDefinitionRegistry.handleReDefinition(TypeDefinition oldEntry, TypeDefinition newEntry) Methods in graphql.schema.idl that return types with arguments of type GraphQLErrorModifier and TypeMethodDescriptionTypeDefinitionRegistry.add(SDLDefinition definition) Adds a definition to the registryTypeDefinitionRegistry.addAll(Collection<SDLDefinition> definitions) Adds a a collections of definitions to the registryprivate Optional<GraphQLError> TypeDefinitionRegistry.checkAddOperationDefs()SchemaTypeChecker.checkTypeRegistry(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring) private <T extends DirectiveDefinition>
Optional<GraphQLError> private <T extends TypeDefinition>
Optional<GraphQLError> private <T extends TypeDefinition>
Optional<GraphQLError> TypeDefinitionRegistry.defineExt(Map<String, List<T>> typeExtensions, T newEntry, Function<T, String> namerFunc) Method parameters in graphql.schema.idl with type arguments of type GraphQLErrorModifier and TypeMethodDescriptionprivate voidArgValueOfAllowedTypeChecker.addValidationError(List<GraphQLError> errors, String message, Object... args) voidSchemaTypeDirectivesChecker.assertExistAndIsInputType(InputValueDefinition definition, List<GraphQLError> errors) private voidSchemaTypeDirectivesChecker.assertTypeName(NamedNode node, List<GraphQLError> errors) private voidUnionTypesChecker.assertTypeName(UnionTypeDefinition unionTypeDefinition, List<GraphQLError> errors) private voidImplementingTypesChecker.checkAncestorImplementation(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, ImplementingTypeDefinition type, Map<InterfaceTypeDefinition, ImplementingTypeDefinition> implementedInterfaces) private voidArgValueOfAllowedTypeChecker.checkArgInputObjectValueFieldMatchesAllowedDefinition(List<GraphQLError> errors, ObjectField objectField, InputValueDefinition allowedValueDef) private voidImplementingTypesChecker.checkArgumentConsistency(String typeOfType, ImplementingTypeDefinition objectTypeDef, InterfaceTypeDefinition interfaceTypeDef, FieldDefinition objectFieldDef, FieldDefinition interfaceFieldDef, List<GraphQLError> errors) private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedEnum(List<GraphQLError> errors, Value<?> instanceValue, EnumTypeDefinition allowedTypeDefinition) private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedInputType(List<GraphQLError> errors, Value<?> instanceValue, InputObjectTypeDefinition allowedTypeDefinition) private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedListType(List<GraphQLError> errors, Value<?> instanceValue, ListType allowedArgType) private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedNonNullType(List<GraphQLError> errors, Value<?> instanceValue, NonNullType allowedArgType) private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedScalar(List<GraphQLError> errors, Value<?> instanceValue, ScalarTypeDefinition allowedTypeDefinition) (package private) voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedType(List<GraphQLError> errors, Value<?> instanceValue, Type<?> allowedArgType) Recursively inspects an argument value given an allowed type.private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedTypeName(List<GraphQLError> errors, Value<?> instanceValue, Type<?> allowedArgType) private voidSchemaTypeDirectivesChecker.checkDirectiveArguments(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Node element, String elementName, Directive directive, DirectiveDefinition directiveDefinition) private voidSchemaTypeChecker.checkDirectiveDefinitions(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors) private voidSchemaTypeDirectivesChecker.checkDirectives(Introspection.DirectiveLocation expectedLocation, List<GraphQLError> errors, TypeDefinition<?> typeDef) private voidSchemaTypeDirectivesChecker.checkDirectives(Introspection.DirectiveLocation expectedLocation, List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Node<?> element, String elementName, List<Directive> directives) private voidSchemaTypeExtensionsChecker.checkEnumTypeExtensions(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Map<String, DirectiveDefinition> directiveDefinitionMap) private voidSchemaTypeChecker.checkEnumValues(List<GraphQLError> errors, EnumTypeDefinition enumType, List<EnumValueDefinition> enumValueDefinitions, Map<String, DirectiveDefinition> directiveDefinitionMap) private voidSchemaTypeChecker.checkFieldsAreSensible(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry) private voidSchemaTypeDirectivesChecker.checkFieldsDirectives(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, List<FieldDefinition> fieldDefinitions) private voidSchemaTypeChecker.checkFieldTypesPresent(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, TypeDefinition typeDefinition, List<FieldDefinition> fields) private voidSchemaTypeExtensionsChecker.checkForEnumValueRedefinition(List<GraphQLError> errors, TypeDefinition typeDefinition, List<EnumValueDefinition> enumValueDefinitions, List<EnumValueDefinition> referenceEnumValueDefinitions) private voidSchemaTypeExtensionsChecker.checkForFieldRedefinition(List<GraphQLError> errors, TypeDefinition typeDefinition, List<FieldDefinition> fieldDefinitions, List<FieldDefinition> referenceFieldDefinitions) private voidSchemaTypeExtensionsChecker.checkForInputValueRedefinition(List<GraphQLError> errors, InputObjectTypeExtensionDefinition typeDefinition, List<InputValueDefinition> inputValueDefinitions, List<InputValueDefinition> referenceInputValues) private voidSchemaTypeChecker.checkForMissingTypes(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry) private voidImplementingTypesChecker.checkImplementingType(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, ImplementingTypeDefinition type) (package private) voidImplementingTypesChecker.checkImplementingTypes(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry) private voidSchemaTypeExtensionsChecker.checkInputObjectTypeExtensions(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Map<String, DirectiveDefinition> directiveDefinitionMap) private voidSchemaTypeChecker.checkInputValues(List<GraphQLError> errors, InputObjectTypeDefinition inputType, List<InputValueDefinition> inputValueDefinitions, Introspection.DirectiveLocation directiveLocation, Map<String, DirectiveDefinition> directiveDefinitionMap) private voidSchemaTypeChecker.checkInterfaceFields(List<GraphQLError> errors, InterfaceTypeDefinition interfaceType, List<FieldDefinition> fieldDefinitions, Map<String, DirectiveDefinition> directiveDefinitionMap) private voidImplementingTypesChecker.checkInterfaceIsImplemented(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, ImplementingTypeDefinition type, Map<InterfaceTypeDefinition, ImplementingTypeDefinition> implementedInterfaces) ImplementingTypesChecker.checkInterfacesNotImplementedMoreThanOnce(List<GraphQLError> errors, ImplementingTypeDefinition type, TypeDefinitionRegistry typeRegistry) SchemaTypeChecker.checkInterfaceTypeExists(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, TypeDefinition typeDefinition) private voidSchemaTypeExtensionsChecker.checkInterfaceTypeExtensions(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Map<String, DirectiveDefinition> directiveDefinitionMap) private Map<String, OperationTypeDefinition> TypeDefinitionRegistry.checkMergeSchemaDefs(TypeDefinitionRegistry toBeMergedTypeRegistry, List<GraphQLError> errors) (package private) static <T, E extends GraphQLError>
voidSchemaTypeChecker.checkNamedUniqueness(List<GraphQLError> errors, List<T> listOfNamedThings, Function<T, String> namer, BiFunction<String, T, E> errorFunction) A simple function that takes a list of things, asks for their names and checks that the names are unique within that list.private voidSchemaTypeExtensionsChecker.checkObjectTypeExtensions(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Map<String, DirectiveDefinition> directiveDefinitionMap) private voidSchemaTypeChecker.checkObjTypeFields(List<GraphQLError> errors, ObjectTypeDefinition typeDefinition, List<FieldDefinition> fieldDefinitions, Map<String, DirectiveDefinition> directiveDefinitionMap) private static Consumer<OperationTypeDefinition> SchemaExtensionsChecker.checkOperationTypesAreObjects(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors) private static Consumer<OperationTypeDefinition> SchemaExtensionsChecker.checkOperationTypesExist(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors) private voidSchemaTypeChecker.checkScalarImplementationsArePresent(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring) private voidSchemaTypeExtensionsChecker.checkScalarTypeExtensions(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Map<String, DirectiveDefinition> directiveDefinitionMap) (package private) static List<OperationTypeDefinition> SchemaExtensionsChecker.checkSchemaInvariants(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry) (package private) voidSchemaTypeDirectivesChecker.checkTypeDirectives(List<GraphQLError> errors) SchemaTypeChecker.checkTypeExists(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, String typeOfType, Node element, String elementName) SchemaTypeChecker.checkTypeExists(String typeOfType, TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, TypeDefinition typeDefinition) private voidSchemaTypeExtensionsChecker.checkTypeExtensionHasCorrespondingType(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, String name, List<? extends TypeDefinition> extTypeList, Class<? extends TypeDefinition> targetClass) (package private) voidSchemaTypeExtensionsChecker.checkTypeExtensions(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry) private voidSchemaTypeChecker.checkTypeResolversArePresent(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring) private voidUnionTypesChecker.checkUnionType(TypeDefinitionRegistry typeRegistry, UnionTypeDefinition unionTypeDefinition, List<GraphQLError> errors) (package private) voidUnionTypesChecker.checkUnionType(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry) private voidSchemaTypeExtensionsChecker.checkUnionTypeExtensions(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Map<String, DirectiveDefinition> directiveDefinitionMap) private voidSchemaTypeDirectivesChecker.commonCheck(Collection<DirectiveDefinition> directiveDefinitions, List<GraphQLError> errors) (package private) static voidSchemaExtensionsChecker.defineOperationDefs(List<GraphQLError> errors, Collection<OperationTypeDefinition> newOperationDefs, Map<String, OperationTypeDefinition> existingOperationDefs) (package private) static Map<String, OperationTypeDefinition> SchemaExtensionsChecker.gatherOperationDefs(List<GraphQLError> errors, SchemaDefinition schema, List<SchemaExtensionDefinition> schemaExtensionDefinitions) SchemaExtensionsChecker.gatherSchemaDirectives(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors) -
Uses of GraphQLError in graphql.schema.idl.errors
Classes in graphql.schema.idl.errors that implement GraphQLErrorModifier and TypeClassDescription(package private) classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in graphql.schema.idl.errors with type parameters of type GraphQLErrorMethods in graphql.schema.idl.errors that return types with arguments of type GraphQLErrorConstructor parameters in graphql.schema.idl.errors with type arguments of type GraphQLError -
Uses of GraphQLError in graphql.validation
Classes in graphql.validation that implement GraphQLErrorMethods in graphql.validation that return types with arguments of type GraphQLErrorModifier and TypeMethodDescriptionprivate Optional<GraphQLError> ValidationUtil.parseLiteral(Value<?> value, Coercing<?, ?> coercing, GraphQLContext graphQLContext, Locale locale) private Optional<GraphQLError> ValidationUtil.parseLiteralEnum(Value<?> value, GraphQLEnumType graphQLEnumType, GraphQLContext graphQLContext, Locale locale) Methods in graphql.validation with parameters of type GraphQLErrorModifier and TypeMethodDescriptionprotected voidArgumentValidationUtil.handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid) protected voidValidationUtil.handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid) protected voidArgumentValidationUtil.handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid) protected voidValidationUtil.handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid)
DataFetcherResult.newResult()builder instead