Foxx: Controller-wide errorResponse
Crazy Refactoring
Foxx: Added the same for onlyIf and onlyIfAuthenticated