12 references to HubException
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (2)
1850
throw new
HubException
(
1974
connectionState.CloseException = new
HubException
($"The server closed the connection with the following error: {closeMessage.Error}");
Internal\InvocationRequest.cs (2)
116
Fail(new
HubException
(completionMessage.Error));
189
Fail(new
HubException
(completionMessage.Error));
Microsoft.AspNetCore.SignalR.Core (7)
HubConnectionHandler.cs (1)
432
disconnectException = new
HubException
(connection.CloseMessage.Error);
Internal\DefaultHubDispatcher.cs (3)
399
var ex = new
HubException
($"Client sent {clientStreamLength} stream(s), Hub method expects {serverStreamLength}.");
707
throw new
HubException
($"Unknown hub method '{hubMethodName}'");
933
throw new
HubException
("Method does not exist.");
src\aspnetcore\src\SignalR\common\Shared\ClientResultsManager.cs (1)
30
tcs.SetException(new
HubException
(completionMessage.Error));
StreamTracker.cs (2)
46
throw new
HubException
($"Stream ID '{streamId}' is already in use.");
90
registration.Converter.TryComplete(message.HasResult || message.Error == null ? null : new
HubException
(message.Error));
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
src\aspnetcore\src\SignalR\common\Shared\ClientResultsManager.cs (1)
30
tcs.SetException(new
HubException
(completionMessage.Error));