Error Pipeline Not Returning output

We are having a main pipeline which has error pipeline, it is being exposed on REST endpoint but somehow when it ends up in error scenario it does not return any output.

wondering what am I missing here ?

Any example here ? on error pipeline view ?

Have you looked at Framework: Error Handling & Retry Patterns?