@props([ 'code', 'title', 'description' => null, 'showGoBack' => true, 'showDashboard' => true, 'primaryHref' => null, 'primaryLabel' => null, 'tone' => 'accent', // accent | danger 'showContact' => true, ]) @php $codeClass = $tone === 'danger' ? 'error-code error-code-danger' : 'error-code'; @endphp
merge(['class' => 'error-shell']) }}>

{{ $code }}

{{ $title }}

@if (filled($description))

{{ $description }}

@endif @if ($slot->isNotEmpty())
{{ $slot }}
@endif
@if (filled($primaryHref) && filled($primaryLabel)) {{ $primaryLabel }} @endif @if ($showGoBack) Go back @endif @if ($showDashboard) Dashboard @endif @if ($showContact) Contact support @endif