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