Home / Function/ isThirdPartyError() — supabase Function Reference

isThirdPartyError() — supabase Function Reference

Architecture documentation for the isThirdPartyError() function in instrumentation-client.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/instrumentation-client.ts lines 46–56

function isThirdPartyError(frames: Sentry.StackFrame[] | undefined) {
  if (!frames) return false

  function isSentryFrame(frame: Sentry.StackFrame, index: number) {
    return index === 0 && frame.pre_context?.[0]?.includes('sentry.javascript')
  }

  return !frames.some((frame, index) => {
    frame.abs_path?.startsWith('app:///_next') && !isSentryFrame(frame, index)
  })
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free