12 references to HubException
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (2)
1538throw new HubException( 1662connectionState.CloseException = new HubException($"The server closed the connection with the following error: {closeMessage.Error}");
Internal\InvocationRequest.cs (2)
109Fail(new HubException(completionMessage.Error)); 182Fail(new HubException(completionMessage.Error));
Microsoft.AspNetCore.SignalR.Core (6)
HubConnectionHandler.cs (1)
212disconnectException = new HubException(connection.CloseMessage.Error);
Internal\DefaultHubDispatcher.cs (3)
352var ex = new HubException($"Client sent {clientStreamLength} stream(s), Hub method expects {serverStreamLength}."); 622throw new HubException($"Unknown hub method '{hubMethodName}'"); 817throw new HubException("Method does not exist.");
src\SignalR\common\Shared\ClientResultsManager.cs (1)
30tcs.SetException(new HubException(completionMessage.Error));
StreamTracker.cs (1)
81converter.TryComplete(message.HasResult || message.Error == null ? null : new HubException(message.Error));
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
src\SignalR\common\Shared\ClientResultsManager.cs (1)
30tcs.SetException(new HubException(completionMessage.Error));
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTestUtils\Hubs.cs (1)
140throw new HubException("This is a hub exception");