13 references to GetClientErrorMessage
Microsoft.AspNetCore.Components.Server (13)
Circuits\CircuitHost.cs (13)
166await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex), ex); 361await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(e, $"Failed to complete render batch '{renderId}'.")); 387await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex, "Interop call failed.")); 421await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex, "Invalid interop arguments.")); 446await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex, "Invalid byte array.")); 470await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex, "Invalid chunk supplied to stream.")); 490await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex, "Unable to send .NET stream.")); 520await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex, "Unable to locate .NET stream.")); 557await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(nex, "Location change failed.")); 565await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex, $"Location change to '{uri}' failed.")); 590await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex, $"Location change to '{uri}' failed.")); 687await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(exception), exception); 792await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex), ex);