resiliant error handler in route io