make:exception

Create a new custom exception class

Options

  • render - Create the exception with an empty render method Optional
  • report - Create the exception with an empty report method Optional

Arguments

  • name - The name of the class Required
php artisan make:exception [--render] [--report] [--] <name>