Given a Router, creates and mounts a Route matching this endpoint, with default error handling
A function, that given a router, will attach this endpoint to it