What will be the output of the following code?
const promise = new Promise((resolve, reject) => {
reject(new Error('Rejected!'));
});
promise.catch((error) => {
console.log(error.message);
throw new Error('New Error!');
}).catch((error) => {
console.log(error.message);
});