Retrieve ex-data from exception thrown in transaction function



Is it possible to retrieve the ex-data of an ExceptionInfo thrown in a transaction function?

Thanks in advance,


Currently, the ex-data is not wrapped in the anomaly that is returned to the client. However, it is available in the CloudWatch Log for inspection.

Are you wanting to use the ex-data in your client application?
Can you provide some details as to your specific use case?


Oh sorry to hear that. I have transaction functions that given some condition throw an ExceptionInfo with useful ex-data for consuming code to react properly, for instance one of the tx-fns I have throws an exception when there is a conflict allocating some resource and it provides useful data like the conflicting entities and more.