glhd/laravel-addressing

View on GitHub
src/Exceptions/AdministrativeAreaNotFoundException.php

Summary

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

namespace Galahad\LaravelAddressing\Exceptions;

use Illuminate\Database\RecordsNotFoundException;

class AdministrativeAreaNotFoundException extends RecordsNotFoundException
{
    public function __construct(string $country_code, string $administrative_area_code)
    {
        parent::__construct("Unable to find administrative area '{$administrative_area_code}' in country '{$country_code}'.");
    }
}