2 writes to ErrorMessage
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
448ErrorMessage = $"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)
461var endpointRef = new EndpointReference(resource, "https") { ErrorMessage = "custom message" };
1 reference to ErrorMessage
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
24public EndpointAnnotation EndpointAnnotation => GetEndpointAnnotation() ?? throw new InvalidOperationException(ErrorMessage ?? BuildMissingEndpointMessage());