PER: Exception path reason/reason code variable for a several scenario objects (Email, Internal Message, Send Message+, etc.)

PER: Exception path reason/reason code variable for a few scenario objects (Email, Internal Message, Send Message+, etc.)

The idea for this concept would be to add a system variable that is populated with the reason or reason code that an exception occurred. Similar to the way this works today with the FetchURL block using $(fetchURLResultBody) and $(fetchURLResultCode). The variable can then be evaluated using an IF block, or could be used in troubleshooting issues that are reported. An example would be using the Email block to send, if the exception is encountered, we could see that the variable tells us that the SMTP mail server was unavailable, timed out, or potentially other reasons that the mail server rejected the request.