If it’s in the minified front end code it’s already client side, of course you don’t show it to the user but they could find out if they wanted to. Server side errors are where you really have to watch out not to give out any details, but then logging them is also easier since it’s already on the server.
I regularly have those dreams where I am desperately trying to open my eyes because of some danger or other, but they’re suuuper heavy and it doesn’t work. This is that