If you pass an error to next() and you do not handle it in a custom error handler, it will be handled by the built-in error handler; the error will be written to the client with the stack trace.
Note If you use a custom error handler, the supported options will depend on your handler. class ExceptionRenderer (Exception $exception) Changing Exception Handling Exception handling offers several ways to tailor how exceptions are handled.
注釈 もしカスタムエラーハンドラーを使うなら、サポートされるオプションはあなたのハンドラーに依存します。 class ExceptionRenderer ( Exception $exception ) 例外処理の変更 例外処理では、例外の処理方法を調整するいくつかの方法が用意されています。
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.