13 references to Error
Aspire.Hosting.Native.Core (2)
Diagnostics\NativeDiagnostics.cs (2)
92
var outcome = Succeeded ? OperationOutcome.Ok : OperationOutcome.
Error
;
138
OperationOutcome.
Error
=> "error",
Aspire.Hosting.Native.Core.Tests (8)
NativeCliProtocolTests.cs (1)
218
host.Logs.Append(new OperationEvent(Guid.NewGuid(), "test.operation", OperationOutcome.
Error
, null, generation,
NativeDiagnosticChannelTests.cs (1)
60
var operation = Event(OperationOutcome.
Error
);
NativeDiagnosticsTests.cs (2)
56
var failed = Assert.Single(capture.Events, value => value.Outcome == OperationOutcome.
Error
);
72
var failed = capture.Events.Where(value => value.Outcome == OperationOutcome.
Error
).ToArray();
NativeSocketIsolationTests.cs (4)
78
var diagnostic = Assert.Single(capture.Events, value => value.Operation == "backchannel.request" && value.Outcome == OperationOutcome.
Error
);
79
Assert.Equal(OperationOutcome.
Error
, diagnostic.Outcome);
161
Assert.Equal(OperationOutcome.
Error
, failure.Outcome);
332
logs.Append(new OperationEvent(Guid.NewGuid(), "rpc.request", OperationOutcome.
Error
, null, null, null, null, null,
Aspire.Hosting.Native.Server (3)
Cli\NativeCliLogBuffer.cs (1)
25
value.Outcome == OperationOutcome.
Error
|| value.ErrorType is not null ? LogLevel.Error : LogLevel.Debug,
NativeDiagnosticWriter.cs (2)
16
if (!verbose && operation.Outcome != OperationOutcome.
Error
)
36
logger.Log(operation.Outcome == OperationOutcome.
Error
? LogLevel.Error : LogLevel.Information,