Could you please explain a little bit more detailed what exactly your question is? Doesn’t this error page mapping handling work as expected? Or do you just want to know how to declare the error page mapping using annotations?
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.