How to use response body instead of "status.find.is(200), but actually found 500"?

Hi.
I want to use response body as error message, not “status.find.is(200), but actually found 500”. How to ?