*/ public array $statuses = [502, 503, 504, 520, 521, 522, 523, 524, 525, 526, 527, 530]; public function fail(int $status): never { abort_unless(in_array($status, $this->statuses, true), Response::HTTP_NOT_FOUND); throw new HttpResponseException(response( '

Gateway time-out

cloudflare proxy error '.$status.'

', $status, ['Content-Type' => 'text/html'] )); } public function render(): mixed { return view('livewire.dev.livewire-request-failure-preview')->layout('layouts.simple'); } }