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 invokedclassA base class for graphql runtime exceptions that also implementGraphQLErrorand can be used in a general sense direct or have specialisations made of it.classclassclassclassMethods 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) Constructors in graphql with parameters of type GraphQLErrorConstructor parameters in graphql with type arguments of type GraphQLErrorModifierConstructorDescriptionExecutionResultImpl(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.Methods 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. -
Uses of GraphQLError in graphql.execution.instrumentation.fieldvalidation
Methods 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.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) 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
Methods 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 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 registrySchemaTypeChecker.checkTypeRegistry(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring) -
Uses of GraphQLError in graphql.schema.idl.errors
Classes in graphql.schema.idl.errors that implement GraphQLErrorModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods 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 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