@grow-codes/apache-skywalking - v0.1.1
    Preparing search index...

    Function graphqlError

    • Maps GraphQL errors to an SDK error: UnsupportedOperationException → UnsupportedError, everything else → ValidationError (bad input caught by the resolver). The message is redacted and truncated to 300 characters.

      Parameters

      • operation: string
      • errors: readonly GraphQLErrorInfo[]
      • redact: (text: string) => string = ...

      Returns SkyWalkingError