register user errorhandler in the right order

solved the problem proposed by  #1291 in a lighter way,
thus determining the `exception  hierarchy` at app setup time instead of running time.
It should be much clearer then . I didn't not know that syntax before...:)