gh-112217: Add check to call result for `do_raise()` where cause is a type. (#112216)

3 files changed