The abort function throws an HTTP exception which will be rendered by the exception handler:
<?php abort(403);
<?php             ($request->user() instanceof MustVerifyEmail &&

            ! $request->user()->hasVerifiedEmail())) {

            return $request->expectsJson()

                    ? abort(403, 'Your email address is not verified.')

                    : Redirect::guest(URL::route($redirectToRoute ?: 'verification.notice'));

        }
<?php     function abort_if($boolean, $code, $message = '', array $headers = [])

    {

        if ($boolean) {

            abort($code, $message, $headers);

        }

    }

}
<?php     function abort_unless($boolean, $code, $message = '', array $headers = [])

    {

        if (! $boolean) {

            abort($code, $message, $headers);

        }

    }

}
<?php                 ? ($precognition ?? $default)

                : $default;



            abort(Router::toResponse(request(), value($response)));

        });



        if (request()->isPrecognitive()) {
<?php         });



        if (request()->isPrecognitive()) {

            abort(204, headers: ['Precognition-Success' => 'true']);

        }



        return $payload;
<?php     {

        return function ($validator) use ($request) {

            if ($validator->messages()->isEmpty() && $request->headers->has('Precognition-Validate-Only')) {

                abort(204, headers: ['Precognition-Success' => 'true']);

            }

        };

    }
<?php     {

        $this->resolveParameters($route, $callable);



        abort(204, headers: ['Precognition-Success' => 'true']);

    }

}
<?php         $this->resolveParameters($route, $controller, $method);



        abort(204, headers: ['Precognition-Success' => 'true']);

    }
<?php         $router->post('api/error', [

            'uses' => function () {

                abort(500);

            },

        ]);