Get Exception Type of Queue Item

@Shreya_Rao1 Have you try this one?
You can set the details of the exception with Set Transaction Status. You can later fetch those details with MyQueueItem.ProcessingException.Details , where MyQueueItem is a QueueItem object.