| 1 | <?php |
||
| 7 | class Error extends AbstractResult |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var mixed |
||
| 11 | */ |
||
| 12 | private $id; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var JsonRpcException |
||
| 16 | */ |
||
| 17 | private $baseException; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * ErrorUnit constructor. |
||
| 21 | * |
||
| 22 | * @param mixed $id |
||
| 23 | * @param JsonRpcException $baseException |
||
| 24 | */ |
||
| 25 | public function __construct($id, JsonRpcException $baseException) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | public function getId() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return JsonRpcException |
||
| 41 | */ |
||
| 42 | public function getBaseException() |
||
| 46 | } |
||
| 47 |