1 | <?php |
||
10 | class RepositoryException extends \Exception |
||
11 | { |
||
12 | |||
13 | public static function wrongFormat(string $responseContent): self |
||
17 | |||
18 | public static function missingSegmentBillingContent(): self |
||
22 | |||
23 | public static function missingId(Segment $segment): self |
||
27 | |||
28 | public static function missingMemberDataSharingId(MemberDataSharing $memberDataSharing): self |
||
32 | |||
33 | public static function missingSegmentBillingId(SegmentBilling $segmentsegmentBilling): self |
||
37 | |||
38 | public static function failed(RepositoryResponse $repositoryResponse): self |
||
42 | |||
43 | public static function genericFailed(string $reason): self |
||
47 | |||
48 | public static function missingIndex(string $missingIndex): self |
||
52 | } |
||
53 |