11 references to BuildErrorMessage
Microsoft.AspNetCore.SignalR.Core (11)
HubConnectionContext.cs (1)
642
var errorMessage = ErrorMessageHelper.
BuildErrorMessage
("An unexpected error occurred during connection handshake.", ex, enableDetailedErrors);
HubConnectionHandler.cs (1)
245
var errorMessage = ErrorMessageHelper.
BuildErrorMessage
("Connection closed with an error.", exception, _enableDetailedErrors);
Internal\DefaultHubDispatcher.cs (9)
249
var errorMessage = ErrorMessageHelper.
BuildErrorMessage
($"Failed to invoke '{bindingFailureMessage.Target}' due to an error on the server.",
256
var errorString = ErrorMessageHelper.
BuildErrorMessage
(
355
ErrorMessageHelper.
BuildErrorMessage
($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex, _enableDetailedErrors));
421
ErrorMessageHelper.
BuildErrorMessage
($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex, enableDetailedErrors));
468
ErrorMessageHelper.
BuildErrorMessage
($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex.InnerException ?? ex, _enableDetailedErrors));
474
ErrorMessageHelper.
BuildErrorMessage
($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex, _enableDetailedErrors));
546
error = ErrorMessageHelper.
BuildErrorMessage
($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex, _enableDetailedErrors);
575
error = ErrorMessageHelper.
BuildErrorMessage
("An error occurred on the server while streaming results.", exception, _enableDetailedErrors);
585
error = ErrorMessageHelper.
BuildErrorMessage
("An error occurred on the server while streaming results.", ex, _enableDetailedErrors);