glhd/laravel-addressing

View on GitHub
src/Exceptions/CountryNotFoundException.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Galahad\LaravelAddressing\Exceptions;

use Illuminate\Database\RecordsNotFoundException;

class CountryNotFoundException extends RecordsNotFoundException
{
    public function __construct(string $country_code)
    {
        parent::__construct("Unable to find country '{$country_code}'.");
    }
}