teableio/teable

View on GitHub
apps/nextjs-app/src/pages/_monitor/preview/error-page.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { ErrorPage } from '@/features/system/pages';

const exampleError = new Error('ErrorPage example error');

export default function ErrorPageRoute() {
  return (
    <ErrorPage
      statusCode={500}
      message={'ErrorPage preview'}
      errorId={'xxxxx-xxxxx-xxxxx-xxxxx'}
      error={exampleError}
    />
  );
}