Wraps the HTTP error into an Elixir exception.
@type t() :: %ElasticsearchEx.Error{ __exception__: true, original: term(), reason: nil | binary(), root_cause: nil | [map()], status: nil | 300..599, type: nil | binary() }