2 writes to Error
dotnet-openapi (2)
Application.cs (1)
28
Error
= error ?? Error;
Commands\BaseCommand.cs (1)
39
Error
= parent.Error ?? Error;
14 references to Error
dotnet-openapi (14)
Application.cs (6)
28
Error = error ??
Error
;
65
Error
.WriteLine(ex.InnerException.Message);
74
Error
.WriteLine(ex.Message);
81
Error
.WriteLine(ex.Message);
87
Error
.WriteLine("Cancelled");
92
Error
.WriteLine(ex);
Commands\AddFileCommand.cs (2)
67
Error
.Write(ex.Message);
75
Error
.Write($"{SourceFileArgName} of '{sourceFile}' could not be found.");
Commands\AddURLCommand.cs (1)
56
Error
.Write($"{SourceUrlArgName} was not valid. Valid values are URLs");
Commands\BaseCommand.cs (5)
39
Error = parent.
Error
??
Error
;
249
await
Error
.WriteAsync(error);
571
await
Error
.WriteLineAsync("Downloading failed.");
572
await
Error
.WriteLineAsync(ex.ToString());