1. Home
  2. Laravel
  3. Abort

The abort function throws back a specified HTTP exception.

#laravel#helper
abort(404);
copy
Full Laravel cheatsheet
NordVPN NordVPN