handle some more cases where the error status is known to be used and clean up 'unraisable exception' code