| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class AutenticacaoException extends \Exception { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * |
||
| 20 | * @var RespostaException |
||
| 21 | */ |
||
| 22 | private $respostaException; |
||
| 23 | |||
| 24 | public function __construct(RespostaException $ex) { |
||
| 25 | $this->respostaException = $ex; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getTitulo() { |
||
| 29 | $this->respostaException->getError()->OAuth2->error; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getErro() { |
||
| 34 | } |
||
| 35 | |||
| 36 | } |
||
| 37 |