see this article
[https://code-maze.com/global-http-error-handling-in-blazor-webassembly/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Actually I had develop the blazor webassembly application
In this application when the externalapi failed due to internet disconnected
at the time on blazor application UI shows the error like "One or more error
occured". whenever I had checked the error using inspect on browser
that is called "Failed load resource: :net:ERR_INTERNET_DISCONNECTED"
catch block not helpful for caught the exception or error because when
execution point came to the external api line at the time I got the error on
browser due to internet disconnected
I want to handle this error and need to show the custom message if internet
disconnected
please help me. Thanks
catch block not helpful for caught the exception or error because when
execution point came to the external api line at the time I got the error on
browser due to internet disconnected
I want to handle this error and need to show the custom message if internet
disconnected
see this article
[https://code-maze.com/global-http-error-handling-in-blazor-webassembly/
it is not working when I had used try and catch. catch block can not caught the exception