If an error occurs and showDegradedView is false, the code checks whether the error is custom. If not, it displays the message "Address failed to call method on address" in bold, red text.
The error message is wrapped in a div alongside other content like the TextAd and PageTitle, ensuring the page structure is consistent.
In this adjusted code:
If an error occurs and showDegradedView is false, the code checks whether the error is custom. If not, it displays the message "Address failed to call method on address" in bold, red text.
The error message is wrapped in a div alongside other content like the
TextAd
andPageTitle
, ensuring the page structure is consistent.