2 writes to Exception
Microsoft.JSInterop (2)
Infrastructure\DotNetInvocationResult.cs (2)
19Exception = exception ?? throw new ArgumentNullException(nameof(exception)); 31Exception = default;
9 references to Exception
Microsoft.AspNetCore.Components.Server (2)
Circuits\RemoteJSRuntime.cs (2)
69Log.InvokeDotNetMethodException(_logger, invocationInfo, invocationResult.Exception); 74errorMessage = invocationResult.Exception.ToString();
Microsoft.AspNetCore.Components.WebView (1)
Services\WebViewJSRuntime.cs (1)
45: invocationResult.Exception.ToString();
Microsoft.JSInterop.Tests (5)
Infrastructure\DotNetDispatcherTest.cs (4)
694Assert.Contains(nameof(ThrowingClass.ThrowingMethod), jsRuntime.LastCompletionResult.Exception.ToString()); 716Assert.Contains(nameof(ThrowingClass.AsyncThrowingMethod), jsRuntime.LastCompletionResult.Exception.ToString()); 733var exception = jsRuntime.LastCompletionResult.Exception; 749var exception = jsRuntime.LastCompletionResult.Exception;
JSRuntimeTest.cs (1)
481ResultError = invocationResult.Success ? null : new JSError(invocationInfo, invocationResult.Exception),
Microsoft.JSInterop.WebAssembly (1)
WebAssemblyJSRuntime.cs (1)
50: dispatchResult.Exception!.ToString();