2024-06-14 02:11:26 +08:00
|
|
|
---
|
|
|
|
import BaseLayout from '@/layouts/BaseLayout.astro';
|
2024-06-20 22:41:40 +08:00
|
|
|
|
|
|
|
interface Props {
|
|
|
|
error: unknown;
|
|
|
|
}
|
|
|
|
|
|
|
|
const { error } = Astro.props;
|
2024-06-14 02:11:26 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
<BaseLayout title="内部错误">
|
|
|
|
<div class="data-null">
|
|
|
|
<div class="my-auto">
|
|
|
|
<h1 class="font-number">❌500</h1>
|
|
|
|
<div>抱歉,网站系统出现内部错误。请刷新页面重试,或者返回上一页。</div>
|
2024-06-20 22:41:40 +08:00
|
|
|
<div>{error instanceof Error ? error.message : '未知错误'}</div>
|
2024-06-14 02:11:26 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</BaseLayout>
|