disallow defining same handler type (e.g. GET) twice in a route