Hi,
We want to avoid frontend users to see the error information whenever they get a page with an error (see attached image). The error info is not useful for them and it produces a negative feeling about the website.
This could be achieved in two ways:
- Replacing the error information with a friendly message ("Ops, something went wrong, please reload the page")
- Redirecting the user to a page with that friendly message.
What it is the best method? Is there any other alternative? How would you implement it?
Regards,
Tomas