Getting response status code from action server

Hello All,

I am executing an action and its responding with a 500 status code and some error message. I want to get this error message back to my action file from where i am executing the action and according to different status codes,i want to output different response to the user.

rasa_core_sdk server is running at the backend.

Can you please all suggest me a solution to this.

Thanks

@pankhuri Is it possible to share error message