Implemented interface member:
method
Error
Microsoft.Extensions.Tools.Internal.IReporter.Error(System.String)
12 references to Error
dotnet-dev-certs (12)
Program.cs (12)
143
reporter.
Error
(InvalidUsageErrorMessage);
154
reporter.
Error
(InvalidUsageErrorMessage);
163
reporter.
Error
(InvalidUsageErrorMessage);
172
reporter.
Error
(InvalidUsageErrorMessage);
178
reporter.
Error
(InvalidUsageErrorMessage);
184
reporter.
Error
(InvalidUsageErrorMessage);
242
reporter.
Error
($"The certificate file '{import.Value()}' does not exist.");
245
reporter.
Error
($"The provided certificate file '{import.Value()}' is not a valid PFX file or the password is incorrect.");
248
reporter.
Error
($"The certificate at '{import.Value()}' is not a valid ASP.NET Core HTTPS development certificate.");
251
reporter.
Error
($"There are one or more ASP.NET Core HTTPS development certificates present in the environment. Remove them before importing the given certificate.");
254
reporter.
Error
("There was an error saving the HTTPS developer certificate to the current user personal certificate store.");
262
reporter.
Error
($"An unexpected error occurred: {exception}");