| Total Complexity | 3 | 
| Total Lines | 23 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 13 | class ShortUrlNotFoundException extends DomainException implements ProblemDetailsExceptionInterface | ||
| 14 | { | ||
| 15 | use CommonProblemDetailsExceptionTrait; | ||
| 16 | |||
| 17 | private const TITLE = 'Short URL not found'; | ||
| 18 | private const TYPE = 'INVALID_SHORTCODE'; | ||
| 19 | |||
| 20 | public static function fromNotFoundShortCode(string $shortCode, ?string $domain = null): self | ||
| 38 |