In my use case, I’d like to return custom response from my plugin using RemapPlugin of CPP API.
It looks like there are lack of supports in below.
1. Transaction class has setErrorBody to set body, but it has no method to set http status code.
2. setErrorBody method in Transaction class doesn’t have option to mimetype