| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class ThemeNotFoundException extends BaseException |
||
| 8 | { |
||
| 9 | const CODE = '0102'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Define as configuração para enviar o exception |
||
| 13 | * |
||
| 14 | * @param string $name |
||
| 15 | */ |
||
| 16 | public function __construct(string $name) |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritDoc} |
||
| 23 | */ |
||
| 24 | public function getErrorMessage() : string |
||
| 25 | { |
||
| 26 | return 'Theme [%s] not found. Check the theme name and try again.'; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | */ |
||
| 32 | public function getErrorCode() : string |
||
| 35 | } |
||
| 36 | } |
||
| 37 |