Missed a new when throwing an error in a demo