3 namespace Symfony\Component\Debug\Tests\Fixtures;
9 public function __construct(\Exception $e)
11 $this->exception = $e;
14 public function __toString()
17 throw $this->exception;
18 } catch (\Exception $e) {
19 // Using user_error() here is on purpose so we do not forget
20 // that this alias also should work alongside with trigger_error().
21 return user_error($e, E_USER_ERROR);