PHP code example of grifart / suppressed-exceptions
1. Go to this page and download the library: Download grifart/suppressed-exceptions library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
final class EventPropagationFailedException extends \RuntimeException implements \Grifart\SuppressedExceptions\WithSuppressedExceptions
{
use \Grifart\SuppressedExceptions\SuppressedExceptions;
public function __construct(\Throwable ...$suppressed)
{
parent::__construct('Saving succeeded, but some listeners failed to complete their job. Please check suppressed exceptions for more information.');
$this->addSuppressed(...$suppressed);
}
}
throw new EventPropagationFailedException(...$suppressedExceptions);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.