Class: TN::HTTP::WrapError
- Inherits:
-
Faraday::Middleware
- Object
- Faraday::Middleware
- TN::HTTP::WrapError
- Defined in:
- lib/tn/http.rb
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
12 13 14 15 16 |
# File 'lib/tn/http.rb', line 12 def call(env) @app.call(env) rescue Faraday::ClientError => e raise ClientError, e end |