Sha256: d807edb96ee5fa87dec2531173e120712d85f2ffcc55e1f3661546a59a7d93b2

Contents?: true

Size: 556 Bytes

Versions: 78

Compression:

Stored size: 556 Bytes

Contents

# Module gets mixed in to Net::HTTP exception classes so we can attach our
# RESTRequest object to them and get the request parameters back out later.
module ChefNetHTTPExceptionExtensions
  attr_accessor :chef_rest_request
end

require 'net/http'
module Net
  class HTTPError
    include ChefNetHTTPExceptionExtensions
  end
  class HTTPRetriableError
    include ChefNetHTTPExceptionExtensions
  end
  class HTTPServerException
    include ChefNetHTTPExceptionExtensions
  end
  class HTTPFatalError
    include ChefNetHTTPExceptionExtensions
  end
end

Version data entries

78 entries across 78 versions & 2 rubygems

Version Path
chef-11.8.4.ohai7.0-x86-mingw32 lib/chef/monkey_patches/net_http.rb
chef-11.8.4.ohai7.0 lib/chef/monkey_patches/net_http.rb
chef-11.8.2 lib/chef/monkey_patches/net_http.rb
chef-11.8.2-x86-mingw32 lib/chef/monkey_patches/net_http.rb
chef-11.8.2.rc.0-x86-mingw32 lib/chef/monkey_patches/net_http.rb
chef-11.8.2.rc.0 lib/chef/monkey_patches/net_http.rb
chef-11.8.0-x86-mingw32 lib/chef/monkey_patches/net_http.rb
chef-11.8.0 lib/chef/monkey_patches/net_http.rb
chef-11.8.0.rc.4 lib/chef/monkey_patches/net_http.rb
chef-11.8.0.rc.4-x86-mingw32 lib/chef/monkey_patches/net_http.rb
chef-11.8.0.rc.1-x86-mingw32 lib/chef/monkey_patches/net_http.rb
chef-11.8.0.rc.1 lib/chef/monkey_patches/net_http.rb
chef-10.28.2 lib/chef/monkey_patches/net_http.rb
chef-10.28.2-x86-mingw32 lib/chef/monkey_patches/net_http.rb
chef-11.6.2 lib/chef/monkey_patches/net_http.rb
chef-11.6.2-x86-mingw32 lib/chef/monkey_patches/net_http.rb
chef-10.28.0 lib/chef/monkey_patches/net_http.rb
chef-10.28.0.rc.0 lib/chef/monkey_patches/net_http.rb
chef-11.6.0.hotfix.1 lib/chef/monkey_patches/net_http.rb
chef-11.6.0 lib/chef/monkey_patches/net_http.rb