ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/llms-txt-hub / apps/web/app/global-error.tsx

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/llms-txt-hub / apps/web/app/global-error.tsx
DateNot specified in source
RepositoryJanady13/llms-txt-hub
Revisione0f4bf978d4df168369c7601d9c5f5ea89e84377
Branchmain
Path or archive memberapps/web/app/global-error.tsx
Original SHA-256e7b3dfe49f11c515d67bd2b1448191a00abc2128ea2e4734dc127783d0e92a38
Git blob SHA8090c108c6e4e4fe30c338ca7d6dece6727e1749
Reading-copy SHA-256e7b3dfe49f11c515d67bd2b1448191a00abc2128ea2e4734dc127783d0e92a38

Original source ↗

Recovered source transcript

'use client' import { captureException } from '@sentry/nextjs' import { Button } from '@thedaviddias/design-system/button' import { fonts } from '@thedaviddias/design-system/lib/fonts' import type { ErrorInfo } from 'next/error' import { useEffect } from 'react' /** * Global error boundary component that captures exceptions and provides a retry action * * @param props - Error properties containing the error and unstable_retry function * @returns Error page with retry button */ const GlobalError = ({ error, unstable_retry }: ErrorInfo) => { useEffect(() => { captureException(error) }, [error]) return ( <html lang="en" className={fonts}> <body> <h1 className="text-3xl font-bold text-center mt-8">Oops, something went wrong</h1> <Button onClick={() => unstable_retry()}>Try again</Button> </body> </html> ) } export default GlobalError

Search equations, builds, manuscript text, and recovered sources.