Table of Contents

JS

Promises

break promises chain

return Promise.reject(err) Promise.reject(err); return throw 'error'