Sascha Schulz
2024-09-30 e25a8139ba2bb21c9e2e65658ccdf597248894eb
1
2
3
4
5
6
7
const p = new Promise(function(resolve, reject) {
    reject(new Error("Fehler"));
});
 
p.catch(function(e) {
    console.log(e.message);
});