-
Is this possible to prevent GoToAsync from throwing exceptions? I need to have access to the error, if any, net::ERR_ABORTED, net::ERR_NAME_NOT_RESOLVED etc. I'm currently catching the exceptions and using ex.Message.Contains but would prefer to have a proper way of doing this. thanks |
Beta Was this translation helpful? Give feedback.
Answered by
kblok
Jul 22, 2024
Replies: 1 comment 1 reply
-
You could create an extension method. something like |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bzp83
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could create an extension method. something like
public static Task<IResponse> TryGoToAsync(this IPage page)