Test for specific types of Promise-related exceptions