Fix error_name in faraday_middleware.rb (#116)
Fix error_name in faraday_middleware.rb (#116)

* Fix error_name in faraday_middleware.rb

* Fix rubocop's complaints

* Better method name for error_type_to_name, don't shadow type variable

* simplify error_type_to_klass - make it more rubyesque

* Revert "simplify error_type_to_klass - make it more rubyesque"

This reverts commit 95fead30a564d8c8713f4ffa59998af848499492.

unixcharles/acme-client,unixcharles/acme-client