Promise.reject(new Error('Test error'))
.catch(err => {
console.log('Error handler 1', err)
throw err
})
.catch(err => {
console.log('Error handler 2', err)
return Promise.reject(err)
})
.catch(err => {
console.log('Error handler 3', err)
})
.catch(err => {
console.log('Not executed handler', err)
})