Lines 0.00% 0 / 1
Functions and Methods 0.00% 0 / 1
Classes and Traits 0.00% 0 / 1
Name Lines Functions and Methods CRAP Classes and Traits
IdentifierException 0.00% 0 / 1 0.00% 0 / 1 2 0.00% 0 / 1
 entityNotGenerated 0.00% 0 / 1 0.00% 0 / 1 2
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Contracts\Exception;
6
7/** @extends StewartException<IdentifierError> */
8final class IdentifierException extends StewartException
9{
10    public static function entityNotGenerated(string $entityId, string $domain): self
11    {
12        return self::createForReason(IdentifierError::EntityNotGenerated, entityId: $entityId, domain: $domain);
13    }
14}