3 instantiations of ChannelNotFoundException
aspire (3)
Commands\UpdateCommand.cs (2)
268
throw new
ChannelNotFoundException
(stagingUnavailableReason);
272
throw new
ChannelNotFoundException
(string.Format(
Templating\TemplateNuGetConfigService.cs (1)
274
?? throw new
ChannelNotFoundException
(
8 references to ChannelNotFoundException
aspire (5)
Commands\InitCommand.cs (2)
393
catch (
ChannelNotFoundException
) when
410
catch (
ChannelNotFoundException
ex)
Commands\UpdateCommand.cs (1)
416
catch (
ChannelNotFoundException
ex)
Templating\DotNetTemplateFactory.cs (1)
571
catch (Exceptions.
ChannelNotFoundException
ex)
Templating\TemplateNuGetConfigService.cs (1)
234
/// <exception cref="
ChannelNotFoundException
">Thrown when <paramref name="query"/> specifies a channel name that does not match any configured channel.</exception>
Aspire.Cli.Tests (3)
Commands\InitCommandTests.cs (1)
1535
/// <see cref="Aspire.Cli.Exceptions.
ChannelNotFoundException
"/> and clean-machine
Templating\TemplateNuGetConfigServiceTests.cs (2)
275
await Assert.ThrowsAsync<Aspire.Cli.Exceptions.
ChannelNotFoundException
>(
560
await Assert.ThrowsAsync<Aspire.Cli.Exceptions.
ChannelNotFoundException
>(