Ahmed Riyadh
05/09/2024, 10:45 AMStatusPages
plugin on web socket routes? I would like to throw an exceptions in all my routes and handle it from one place, this plugin by default only work with Http methods routes like get, post
But not web socket, is there an alternative solution?Aleksei Tirman [JB]
05/09/2024, 11:27 AMAhmed Riyadh
05/09/2024, 11:33 AMErrorResponseException
that hold some variables (message, data etc...)
I already setup this easily using the status pages plugin, I can throw exceptions inside the route handler and handle them in one place (in the place where I install the plugin)
I want so when I throw an exception, it stop the route handler code execution and fallback to the code that will run for a specific exceptionAleksei Tirman [JB]
05/09/2024, 11:40 AMAleksei Tirman [JB]
05/09/2024, 3:31 PMAhmed Riyadh
05/09/2024, 3:36 PM