This might not be the correct forum, possibly a JavaSctipt help desk would be better, but here goes.
I’m a try, catch, throw style coder who used the four layer approach to implementation.
With Promise code I hsve not found a way to prepend the calling function information to the error message that is generated at the far end of the function nest. instead of a nice trace back to debug I get a message statiing "Your code is broken, good luck!".
Is there a way to modify the error message as it comes up the call stack?