/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Contracts/Debug/ExceptionHandler.php
53 строки
1 KB
Alex Bowers
[13.x] Should Not Retry Exception Handler (#60552)
22 июн 2026, 00:13
Не верифицирован
22 июн 2026, 00:13
797107e
Код
Авторство
О чём код?
<?php namespace Illuminate\Contracts\Debug; use Throwable; /** * @method bool isReporting(\Throwable $e) * @method array buildContextForException() * @method bool shouldStopRetries(\Throwable $e) */ interface ExceptionHandler { /** * Report or log an exception. * * @param \Throwable $e * @return void * * @throws \Throwable */ public function report(Throwable $e); /** * Determine if the exception should be reported. * * @param \Throwable $e * @return bool */ public function shouldReport(Throwable $e); /** * Render an exception into an HTTP response. * * @param \Illuminate\Http\Request $request * @param \Throwable $e * @return \Symfony\Component\HttpFoundation\Response * * @throws \Throwable */ public function render($request, Throwable $e); /** * Render an exception to the console. * * @param \Symfony\Component\Console\Output\OutputInterface $output * @param \Throwable $e * @return void * * @internal This method is not meant to be used or overwritten outside the framework. */ public function renderForConsole($output, Throwable $e); }