| 1 | <?php |
||
| 7 | class ConnectionErrorEvent extends ConnectionEvent |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var \Exception |
||
| 11 | */ |
||
| 12 | private $error; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param ConnectionInterface $conn |
||
| 16 | * @param \Exception $error |
||
| 17 | */ |
||
| 18 | public function __construct(ConnectionInterface $conn, \Exception $error) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return ConnectionInterface |
||
| 27 | */ |
||
| 28 | public function getError() |
||
| 32 | } |
||
| 33 |