Class KlassGraphQLErrorHandler
java.lang.Object
graphql.kickstart.execution.error.DefaultGraphQLErrorHandler
cool.klass.dropwizard.bundle.graphql.KlassGraphQLErrorHandler
- All Implemented Interfaces:
graphql.kickstart.execution.error.GraphQLErrorHandler
public class KlassGraphQLErrorHandler
extends graphql.kickstart.execution.error.DefaultGraphQLErrorHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<graphql.GraphQLError>filterGraphQLErrors(List<graphql.GraphQLError> errors) protected booleanisClientError(graphql.GraphQLError error) protected voidlogError(graphql.GraphQLError error) List<graphql.GraphQLError>processErrors(List<graphql.GraphQLError> errors) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface graphql.kickstart.execution.error.GraphQLErrorHandler
errorsPresent
-
Constructor Details
-
KlassGraphQLErrorHandler
public KlassGraphQLErrorHandler()
-
-
Method Details
-
processErrors
- Specified by:
processErrorsin interfacegraphql.kickstart.execution.error.GraphQLErrorHandler- Overrides:
processErrorsin classgraphql.kickstart.execution.error.DefaultGraphQLErrorHandler
-
logError
protected void logError(graphql.GraphQLError error) - Overrides:
logErrorin classgraphql.kickstart.execution.error.DefaultGraphQLErrorHandler
-
filterGraphQLErrors
- Overrides:
filterGraphQLErrorsin classgraphql.kickstart.execution.error.DefaultGraphQLErrorHandler
-
isClientError
protected boolean isClientError(graphql.GraphQLError error) - Overrides:
isClientErrorin classgraphql.kickstart.execution.error.DefaultGraphQLErrorHandler
-