Passing next to error handlers