Error on purpose to demonstrate the use of promise()