elasticsearch-rs icon indicating copy to clipboard operation
elasticsearch-rs copied to clipboard

[ENHANCEMENT]

Open raybog opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. When an error is returned by ES there is no straightforward way to get the content of the body. In many cases only the message in the body explains the reasons of the problem/error.

Describe the solution you'd like Ideally elasticsearch::Error struct should have some way to access the response body if there is one.

raybog avatar Nov 13 '21 03:11 raybog