2 instantiations of ChannelNotFoundException
aspire (2)
Commands\UpdateCommand.cs (1)
380
throw new
ChannelNotFoundException
(channelFromConfig
Templating\TemplateNuGetConfigService.cs (1)
307
?? throw new
ChannelNotFoundException
(
8 references to ChannelNotFoundException
aspire (5)
Commands\InitCommand.cs (2)
471
catch (
ChannelNotFoundException
) when
488
catch (
ChannelNotFoundException
ex)
Commands\UpdateCommand.cs (1)
558
catch (
ChannelNotFoundException
ex)
Templating\DotNetTemplateFactory.cs (1)
576
catch (Exceptions.
ChannelNotFoundException
ex)
Templating\TemplateNuGetConfigService.cs (1)
267
/// <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)
2078
/// <see cref="Aspire.Cli.Exceptions.
ChannelNotFoundException
"/> and clean-machine
Templating\TemplateNuGetConfigServiceTests.cs (2)
505
await Assert.ThrowsAsync<Aspire.Cli.Exceptions.
ChannelNotFoundException
>(
790
await Assert.ThrowsAsync<Aspire.Cli.Exceptions.
ChannelNotFoundException
>(