4 5 6
# File 'lib/putio-ruby/middleware/error_handler.rb', line 4 def on_complete(env) raise Putio::Error.from_env(env) if env.status >= 400 end