<?php

namespace Modules\Routing\Exceptions;

use Modules\Routing\Models\EvRoute;
use Modules\Shared\Enums\VehicleOption;
use RuntimeException;

class RoutePricingNotFoundException extends RuntimeException
{
    public static function forRouteAndOption(EvRoute $route, VehicleOption $vehicleOption): self
    {
        return new self("No pricing found for route [{$route->id}] and vehicle option [{$vehicleOption->value}].");
    }
}
