5 references to MissingParameterValueException
Aspire.Hosting (2)
ParameterResourceBuilderExtensions.cs (2)
209?? throw new MissingParameterValueException($"Parameter resource could not be used because configuration key '{configurationKey}' is missing and the Parameter has no default value."); 245throw new MissingParameterValueException($"Connection string parameter resource could not be used because connection string '{name}' is missing."),
Aspire.Hosting.GitHub.Models (1)
GitHubModelsExtensions.cs (1)
33throw new MissingParameterValueException($"GitHub API key parameter '{name}-gh-apikey' is missing and GITHUB_TOKEN environment variable is not set."),
Aspire.Hosting.Tests (2)
Orchestrator\ParameterProcessorTests.cs (2)
509return new ParameterResource(name, _ => configuration[$"Parameters:{name}"] ?? throw new MissingParameterValueException($"Parameter '{name}' is missing"), secret); 514return new ParameterResource(name, _ => throw new MissingParameterValueException($"Parameter '{name}' is missing"), secret: secret);