Hi,
I'm not sure if this is possible but I will share something that I just experienced.
I have a query that creates/updates data in several entities. This query has 200 lines which is heavy enough. I need 2/3 validations before doing this heavy CRUD, I would like to do that inside the Advanced SQL node and be able to output the error code and error message. As of today, the only error that comes out of a query is "Error executing query" which doesn't allow me to handle the error properly.
To accomplish those validations, I need to have more aggregates or even SQL nodes outside the heavy create/update which will increase even further the complexity of the action.