1 | <?php namespace Stevenmaguire\Uber; |
||
5 | class Exception extends BaseException |
||
6 | { |
||
7 | /** |
||
8 | * Exception body |
||
9 | * |
||
10 | * @var string|array |
||
11 | */ |
||
12 | protected $body; |
||
13 | |||
14 | /** |
||
15 | * Get exception body |
||
16 | * |
||
17 | * @return string|array |
||
18 | */ |
||
19 | 2 | public function getBody() |
|
23 | |||
24 | /** |
||
25 | * Set exception body |
||
26 | * |
||
27 | * @param string|array $body |
||
28 | * |
||
29 | * @return $this |
||
30 | */ |
||
31 | 4 | public function setBody($body = null) |
|
37 | } |
||
38 |