1 | <?php |
||
20 | class ErrorEvent implements EventInterface |
||
21 | { |
||
22 | const ERROR = 'transport.error'; |
||
23 | |||
24 | /** |
||
25 | * @var \Exception |
||
26 | */ |
||
27 | protected $error; |
||
28 | |||
29 | /** |
||
30 | * @param \Exception $error |
||
31 | */ |
||
32 | 1 | public function __construct(\Exception $error) |
|
36 | |||
37 | /** |
||
38 | * @return \Exception |
||
39 | */ |
||
40 | public function getError() |
||
44 | } |
||
45 |