我们可以在应用程序代码中手动抛出 Laravel 异常吗?

Are there Laravel Exceptions that we can manually throw in the application code?

我想知道 Laravel 是否设置了特定的异常 类 供开发人员在需要时输入他们的应用程序代码。有这种东西吗?

还有一些https://laravel.com/api/5.5/search.html?search=exception

但是你为什么要扔掉它们?您可以创建适合您域的例外情况。