Class MySubscriptionExceptionResolverAdapter

java.lang.Object
org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
org.allGraphQLCases.server.config.MySubscriptionExceptionResolverAdapter
All Implemented Interfaces:
org.springframework.graphql.execution.SubscriptionExceptionResolver

@Component public class MySubscriptionExceptionResolverAdapter extends org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
Implements the spring-graphql exception management, for Subscriptions
Author:
etienne-sf
  • Constructor Details

    • MySubscriptionExceptionResolverAdapter

      public MySubscriptionExceptionResolverAdapter()
  • Method Details

    • resolveToSingleError

      protected graphql.GraphQLError resolveToSingleError(Throwable exception)
      Overrides:
      resolveToSingleError in class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter