get the appropriate failure message from an error object to print in a not ok test point when unhandled throws or rejections happen.
not ok
get the appropriate failure message from an error object to print in a
not ok
test point when unhandled throws or rejections happen.