Passing error reason to error pipeline
I have designed an error pipeline which accepts few pipeline parameters like ruuid, label, error etc. I have configured this error pipe line in all other pipelines in my project to make call to this pipeline in case of error. I am not able to find any way to directly pass error reason, resolutions etc as parameter… Is there any expression that can be used to achieve this…?
If you capture the error message that is delivered to error pipeline using File Writer or Record Replay Snap, you will notice that the error message structure contains the fields like error, reason, resolution, stacktrace etc.
You don’t have to pass the error, reason, resolution as a error pipeline parameters.
In the error pipeline, in separate Mapper Snap you can map those fields(error, reason, resolution):