HubConnection class from the .NET client offers a specific
Error event, which is useful to manage most of the exceptions raised by SignalR itself, whereas any server-side exception occurring during a Hub method invocation can be trapped simply by surrounding the client-side invocation in a
catch block. We'll talk a little bit more about the latter case while commenting on the code of this recipe.
Before proceeding with this recipe, please remember to start the ...