2 implementations of Error
dotnet-user-secrets (2)
src\aspnetcore\src\Tools\Shared\CommandLine\ConsoleReporter.cs (1)
52public virtual void Error(string message)
src\aspnetcore\src\Tools\Shared\CommandLine\NullReporter.cs (1)
26public void Error(string message)
12 references to Error
dotnet-user-secrets (12)
Program.cs (2)
44reporter.Error(Resources.FormatError_Command_Failed(exception.Message)); 59CreateReporter(verbose: false).Error(ex.Message);
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (10)
42_reporter.Error(ex.Message); 114_reporter.Error($"Exit code: {process.ExitCode}"); 115_reporter.Error(SecretsHelpersResources.FormatError_ProjectFailedToLoad(projectFile)); 121_reporter.Error(SecretsHelpersResources.FormatError_ProjectMissingId(projectFile)); 128_reporter.Error(SecretsHelpersResources.FormatError_ProjectMissingId(projectFile)); 198_reporter.Error($"Exit code: {process.ExitCode}"); 199_reporter.Error(SecretsHelpersResources.FormatError_ProjectFailedToLoad(projectFile)); 207_reporter.Error(SecretsHelpersResources.FormatError_ProjectMissingId(projectFile)); 216_reporter.Error(SecretsHelpersResources.FormatError_ProjectMissingId(projectFile)); 260_reporter.Error("Fatal error: could not find SecretManager.targets");