It would be useful to translate the exception passed in the configuration via the “loggedOutError” parameter, so that it can be returned to each user in their own language. The solution that comes to mind would be to turn it into a function and call it every time such an exception is present. This way, I can apply logic to retrieve the user’s language and translate it.
What do you think?
It would be useful to translate the exception passed in the configuration via the “loggedOutError” parameter, so that it can be returned to each user in their own language. The solution that comes to mind would be to turn it into a function and call it every time such an exception is present. This way, I can apply logic to retrieve the user’s language and translate it.
What do you think?