Class ExceptionNameErrorExtensionProvider

java.lang.Object
io.smallrye.graphql.execution.error.ExceptionNameErrorExtensionProvider
All Implemented Interfaces:
io.smallrye.graphql.api.ErrorExtensionProvider

public class ExceptionNameErrorExtensionProvider extends Object implements io.smallrye.graphql.api.ErrorExtensionProvider
  • Constructor Details

    • ExceptionNameErrorExtensionProvider

      public ExceptionNameErrorExtensionProvider()
  • Method Details

    • getKey

      public String getKey()
      Specified by:
      getKey in interface io.smallrye.graphql.api.ErrorExtensionProvider
    • mapValueFrom

      public jakarta.json.JsonString mapValueFrom(Throwable exception)
      Specified by:
      mapValueFrom in interface io.smallrye.graphql.api.ErrorExtensionProvider