Cache all errors in the router

When a service raises an error, that error should be remembered by the
router for the duration of the session.