3 implementations of Error
dotnet-user-jwts (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.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TestReporter.cs (1)
32
public void
Error
(string message)
20 references to Error
dotnet-user-jwts (20)
Commands\CreateCommand.cs (8)
117
reporter.
Error
(Resources.ProjectOption_ProjectNotFound);
138
reporter.
Error
(Resources.CreateCommand_NoAudience_Error);
149
reporter.
Error
(Resources.FormatCreateCommand_InvalidDate_Error("--not-before"));
160
reporter.
Error
(Resources.FormatCreateCommand_InvalidDate_Error("--expires-on"));
166
reporter.
Error
(Resources.CreateCommand_InvalidExpiresOn_Error);
180
reporter.
Error
(Resources.FormatCreateCommand_InvalidPeriod_Error("--valid-for"));
186
reporter.
Error
(Resources.CreateCommand_InvalidExpiresOn_Error);
206
reporter.
Error
(Resources.CreateCommand_InvalidClaims_Error);
Commands\KeyCommand.cs (1)
64
reporter.
Error
("[Y]es / [N]o");
Commands\RemoveCommand.cs (1)
42
reporter.
Error
(Resources.FormatRemoveCommand_NoJwtFound(id));
Helpers\DevJwtCliHelpers.cs (2)
32
reporter.
Error
(Resources.ProjectOption_ProjectNotFound);
39
reporter.
Error
(Resources.ProjectOption_SercretIdNotFound);
Program.cs (2)
59
_reporter.
Error
(parsingException.Message);
64
_reporter.
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");