Class: LookerSDK::Response::RaiseError
- Inherits:
-
Faraday::Middleware
- Object
- Faraday::Middleware
- LookerSDK::Response::RaiseError
- Defined in:
- lib/looker-sdk/response/raise_error.rb
Overview
HTTP status codes returned by the API
Instance Method Summary collapse
Instance Method Details
#on_complete(response) ⇒ Object
35 36 37 38 39 |
# File 'lib/looker-sdk/response/raise_error.rb', line 35 def on_complete(response) if error = LookerSDK::Error.from_response(response) raise error end end |