[backend] stabilise codebase
This commit is contained in:
@@ -11,7 +11,7 @@ use function sprintf;
|
||||
#[WithHttpStatus(Response::HTTP_UNPROCESSABLE_ENTITY, headers: [
|
||||
'x-error-code' => 'point_too_far',
|
||||
])]
|
||||
final class PointTooFarException extends \RuntimeException
|
||||
final class PointTooFarException extends \DomainException
|
||||
{
|
||||
public function __construct(float $maximumDistanceKm)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user