3 implementations of Error
dotnet-user-secrets (2)
src\Tools\Shared\CommandLine\ConsoleReporter.cs (1)
52
public virtual void
Error
(string message)
src\Tools\Shared\CommandLine\NullReporter.cs (1)
26
public void
Error
(string message)
Microsoft.Extensions.SecretManager.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TestReporter.cs (1)
32
public void
Error
(string message)
8 references to Error
dotnet-user-secrets (8)
Program.cs (2)
44
reporter.
Error
(Resources.FormatError_Command_Failed(exception.Message));
59
CreateReporter(verbose: false).
Error
(ex.Message);
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (6)
41
_reporter.
Error
(ex.Message);
108
_reporter.
Error
($"Exit code: {process.ExitCode}");
109
_reporter.
Error
(SecretsHelpersResources.FormatError_ProjectFailedToLoad(projectFile));
115
_reporter.
Error
(SecretsHelpersResources.FormatError_ProjectMissingId(projectFile));
122
_reporter.
Error
(SecretsHelpersResources.FormatError_ProjectMissingId(projectFile));
147
_reporter.
Error
("Fatal error: could not find SecretManager.targets");