While handling error in mule 4, I tried using:
%dw 2.0
output application/java
---
"Hello Team"
"Recodarti Order export job failed error is " ++ error.detailedDescription ++
"REP Sap Code is NULL please reverify the data and reprocessed the interface.
Thank You"
but I'm getting a scripting error in the console. How can I concatenate a string with error.detailsDescription
?