use new Error for next()