During some testing I've came across:
Action 'XXXXXXXX' isn't available on class YYYYYYY.
It actually works fine, but I'm not ok with class name disclosure in browser. Is there any logic to disable it, for instance to display this message only on dev environments, and when env is set to live just to omit class name. This would be acceptable.
Even better, is there a way to redirect that request (using SS logic) to ErrorPage (404), no just a text in browser.
Since this is SS core functionality, I'm not happy to update code in framework folder (like to keep core files as is).
Is there some cool solution for this situation?