This is a blade view with a solution

@php throw $exception; @endphp