make:exception

Create a new custom exception class

Options

  • force - Create the class even if the exception already exists Optional
  • 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 exception Required
php artisan make:exception [-f|--force] [--render] [--report] [--] <name>