At_exit and errors

Is there any way to know, when in an #at_exit proc, whether the exit was
caused by an unhandled Exception?

TIA,

Nathaniel

<:((><