Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
CountryAlreadyRegistered
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2namespace Apie\CountryAndPhoneNumber\Exceptions;
3
4use Apie\Core\Exceptions\ApieException;
5
6class CountryAlreadyRegistered extends ApieException
7{
8    public function __construct(string $countryCode)
9    {
10        parent::__construct(sprintf('Country "%s" has already a registered class.', $countryCode));
11    }
12}