put it in opts if errors should be cached