Class ErrorCodeExtensionProvider

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

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

    • ErrorCodeExtensionProvider

      public ErrorCodeExtensionProvider()
  • Method Details

    • getKey

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

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