2023-01-16 12:13:21 +01:00
|
|
|
type Props = {
|
|
|
|
|
error: Error
|
|
|
|
|
}
|
|
|
|
|
export const ErrorMessage = (props: Props) => {
|
|
|
|
|
return (
|
|
|
|
|
<div class="h-full flex justify-center items-center flex-col">
|
2023-01-25 11:27:47 +01:00
|
|
|
<p class="text-2xl text-center">{props.error.message}</p>
|
2023-04-03 18:14:32 +02:00
|
|
|
<p class="text-center">{props.error.cause as string}</p>
|
2023-01-16 12:13:21 +01:00
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|