How would you catch the returned Promise.reject() in the following code snippet?
I am aware that it is bad practice and the code should be -->