6 references to HubException
Microsoft.AspNetCore.SignalR.Core (6)
HubConnectionHandler.cs (1)
212
disconnectException = new
HubException
(connection.CloseMessage.Error);
Internal\DefaultHubDispatcher.cs (3)
352
var ex = new
HubException
($"Client sent {clientStreamLength} stream(s), Hub method expects {serverStreamLength}.");
622
throw new
HubException
($"Unknown hub method '{hubMethodName}'");
815
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 (1)
81
converter.TryComplete(message.HasResult || message.Error == null ? null : new
HubException
(message.Error));