It is possible reduce error response in case of exception?

* my index -> aho\_bas
* my call via curl -> curl -v "localhost:9200/aaho\_bas/\_search?filter\_path=took" (**I intentionallity typed wrong the url**)
* response I'm getting:
{"error":"error\_cause":[{"type":"index\_not\_found\_exception",etc...}]}

**I'm trying get only some fields**, like error.reason. I need can manipulate the error response structure.
It is possible?
Thank you