Assert the nature of the original exception

Just so it's clearer what's going on in the following assertion.

/cc #11993 @robin850