You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// This is the exception struct when ExecuteScriptWithResult return false, user can
164
+
/// This interface represents a JavaScript exception. If the CoreWebView2.ExecuteScriptWithResult result has IsSuccessful as false, you can use the result's Exception property to get the script exception.
/// This will return the exception className, it would be got from the
173
+
/// The Name is the exception's class name. In the JSON it is `exceptionDetail.exception.className`. This is the empty string if the exception doesn't have a class name. This can happen if the script throws a non-Error object such as `throw "abc";`
170
174
/// `result.exceptionDetail.exception.className` in json result, this
171
175
/// could be empty if the exception doesn't have the specified element,
172
176
/// such as user active throw an exception like `throw "abc"`.
/// This will return the exception detail, it's a json struct with complete information for
185
+
/// This will return all details of the exception as a JSON string. In the case that script has thrown a non-Error object such as `throw "abc";` or any other non-Error object, you can get object specific properties.
182
186
/// exception, if get_Name and get_Exception is not enough, user can use this interface and
0 commit comments