2 writes to ErrorMessage
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
448
ErrorMessage
= $"The dev tunnel '{tunnelResource.Name}' has not been associated with '{endpointName}' on resource '{targetResource.Name}'. Use 'WithReference({targetResource.Name})' on the dev tunnel to expose this endpoint."
Aspire.Hosting.Tests (1)
EndpointReferenceTests.cs (1)
461
var endpointRef = new EndpointReference(resource, "https") {
ErrorMessage
= "custom message" };
1 reference to ErrorMessage
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
24
public EndpointAnnotation EndpointAnnotation => GetEndpointAnnotation() ?? throw new InvalidOperationException(
ErrorMessage
?? BuildMissingEndpointMessage());