add type info to broken promise what()