3 implementations of Error
dotnet-user-secrets (2)
src\Tools\Shared\CommandLine\ConsoleReporter.cs (1)
52public virtual void Error(string message)
src\Tools\Shared\CommandLine\NullReporter.cs (1)
26public void Error(string message)
Microsoft.Extensions.SecretManager.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TestReporter.cs (1)
32public void Error(string message)
8 references to Error
dotnet-user-secrets (8)
Program.cs (2)
44reporter.Error(Resources.FormatError_Command_Failed(exception.Message)); 59CreateReporter(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");