import { TriangleAlert } from "lucide-react"; import { Button } from "@/client/components/ui/button"; export type ErrorPageProps = { message?: string; stack?: string; owner?: string; repo?: string; refEnc?: string; path?: string; }; export function ErrorPage({ message, stack, owner, repo, refEnc, path }: ErrorPageProps) { return (
Error

Something went wrong

{message ? (

{message}

) : null}
{stack ? (
Stack trace
{stack}
) : null}
{owner && repo ? ( ) : null} {owner && repo && refEnc ? ( ) : null}
); }