Skip to content

The open alternative to Salesforce, designed for AI.

236 B
Raw Blame
import { type GraphQLFormattedError } from 'graphql';

export const isSessionSupersededGraphQLError = (
  graphQLError: Pick<GraphQLFormattedError, 'extensions'>,
): boolean => graphQLError.extensions?.subCode === 'SESSION_SUPERSEDED';