2 writes to ErrorMessage
Aspire.Hosting (2)
ApplicationModel\ResourceCommandAnnotation.cs (1)
131public static ExecuteCommandResult Failure(string? errorMessage = null) => new() { Success = false, ErrorMessage = errorMessage };
ResourceBuilderExtensions.cs (1)
1697return new ExecuteCommandResult { Success = false, ErrorMessage = "Endpoints are not yet allocated." };
3 references to ErrorMessage
Aspire.Hosting (2)
Dashboard\DashboardServiceData.cs (2)
109logger.LogInformation("Failure executed command '{Type}'. Error message: {ErrorMessage}", type, result.ErrorMessage); 110return (ExecuteCommandResult.Failure, result.ErrorMessage);
Aspire.Hosting.Tests (1)
WithHttpCommandTests.cs (1)
393Assert.Equal("A test error message", result.ErrorMessage);