lib/ridley/errors.rb in ridley-0.8.6 vs lib/ridley/errors.rb in ridley-0.9.0
- old
+ new
@@ -47,9 +47,11 @@
super "too many redirects; last one to: #{response['location']}"
@response = response
end
end
+ class FrozenCookbook < RidleyError; end
+
class HTTPError < RidleyError
class << self
def fabricate(env)
klass = lookup_error(env[:status].to_i)
klass.new(env)