Add exceptions

This commit is contained in:
brabli committed 2024-08-05 13:06:42 +01:00
1 parent e4222229c4
commit fcda1e931c
3 files changed
+42

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace Pcm\GeocodeBundle\Exception;
class NoResultsFoundException extends GeocodeException
{
private const string MESSAGE = "No results found.";
public function __construct(string $postcode)
{
parent::__construct($postcode, self::MESSAGE);
}
}