Q: wrt custom error output, Im needing to product JSON output from errors. I found a post mentioning that one needed to add the CatchAll filter.
But looking at the source, it seems not the correct thing for customizing error output,
so I wrote my own simple filter based on the same pattern and added that instead of CatchAll
It does seem to work
Q: Is this correct thing to do ?