HSM Arming Failure - how to know what type of arming mode used?

Is there a way, when HSM reports arming failed, to know what arming mode failed?

I would like to be able to arm HSM in the requested mode once the failure has been resolved. I have setup a RM that waits for the resolution on failure (waits for sensors to close) and retries arming. That works.

What I’m not able to do is know what type of arming mode I was setting, and re-use the same. Ex.: I know it failed arming, but not if it failed arming away, home or night.