'point_too_far', ])] final class PointTooFarException extends \DomainException { public function __construct(float $maximumDistanceKm) { parent::__construct(sprintf('The submitted point must be within %.2fkm of your location.', $maximumDistanceKm)); } }