{{-- @intent Página de erro **dentro do shell** (ADR-016/ADR-025): acessível, humana, sem stack trace. @description O módulo não monta estrutura: o shell entrega header, rodapé, áreas laterais, acessibilidade e SEO de base. Aqui vive só o conteúdo central do erro. Inclui o **código de rastreio** (`X-Request-ID`) para o suporte. O texto padrão vem **traduzido por status** (ADR-012): o renderer (Core) só manda o status e um título/detalhe próprios quando existem — o Core não depende do layout. --}} @php // Chave ausente (`__()` devolve a própria chave) cai no texto default. $heading = filled($title) ? $title : __('layout::shell.error_title_'.$status); $heading = str_starts_with($heading, 'layout::shell.') ? __('layout::shell.error_title_default') : $heading; $message = filled($detail) ? $detail : __('layout::shell.error_detail_'.$status); $message = str_starts_with($message, 'layout::shell.') ? __('layout::shell.error_detail_default') : $message; @endphp

{{ $status }}

{{ $heading }}

{{ $message }}

@if (filled($requestId))

{{ __('layout::shell.error_tracking') }} {{ $requestId }}

@endif

{{ __('layout::shell.back_home') }}