Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class ShortUrlNotFoundException extends DomainException implements ProblemDetailsExceptionInterface |
||
15 | { |
||
16 | use CommonProblemDetailsExceptionTrait; |
||
17 | |||
18 | private const TITLE = 'Short URL not found'; |
||
19 | private const TYPE = 'INVALID_SHORTCODE'; |
||
20 | |||
21 | 10 | public static function fromNotFound(ShortUrlIdentifier $identifier): self |
|
41 |