now recognizes error.wrapper