| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class AutorizationException extends \Exception { |
||
| 17 | |||
| 18 | private $error; |
||
| 19 | private $description; |
||
| 20 | |||
| 21 | public function __construct($error, $description) { |
||
| 22 | parent::__construct($description); |
||
| 23 | $this->error = $error; |
||
| 24 | $this->description = $description; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getErro() { |
||
| 28 | return $this->error; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getDescricao() { |
||
| 33 | } |
||
| 34 | |||
| 35 | } |
||
| 36 |