| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class InvalidTypeDirectiveException extends BaseException |
||
| 8 | { |
||
| 9 | const CODE = '0203'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Define as configuração para enviar o exception |
||
| 13 | * |
||
| 14 | * @param string $type |
||
| 15 | */ |
||
| 16 | public function __construct(string $type) |
||
| 17 | { |
||
| 18 | $this->initialize($type); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritDoc} |
||
| 23 | */ |
||
| 24 | public function getErrorMessage() : string |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | */ |
||
| 32 | public function getErrorCode() : string |
||
| 37 |