PHP 8.2.31
Preview: exceptions.rb Size: 710 B
//proc/thread-self/root/opt/alt/ruby21/lib64/ruby/2.1.0/net/http/exceptions.rb

# Net::HTTP exception class.
# You cannot use Net::HTTPExceptions directly; instead, you must use
# its subclasses.
module Net::HTTPExceptions
  def initialize(msg, res)   #:nodoc:
    super msg
    @response = res
  end
  attr_reader :response
  alias data response    #:nodoc: obsolete
end
class Net::HTTPError < Net::ProtocolError
  include Net::HTTPExceptions
end
class Net::HTTPRetriableError < Net::ProtoRetriableError
  include Net::HTTPExceptions
end
class Net::HTTPServerException < Net::ProtoServerError
  # We cannot use the name "HTTPServerError", it is the name of the response.
  include Net::HTTPExceptions
end
class Net::HTTPFatalError < Net::ProtoFatalError
  include Net::HTTPExceptions
end

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
578 B lrw-r--r-- 2012-08-23 22:42:12
Edit Download
710 B lrw-r--r-- 2012-05-22 20:36:21
Edit Download
9.04 KB lrw-r--r-- 2013-03-22 11:57:51
Edit Download
14.38 KB lrw-r--r-- 2013-12-07 10:33:16
Edit Download
241 B lrw-r--r-- 2012-05-22 20:36:21
Edit Download
715 B lrw-r--r-- 2012-07-19 22:43:38
Edit Download
2.88 KB lrw-r--r-- 2012-05-22 20:36:21
Edit Download
9.94 KB lrw-r--r-- 2015-08-17 08:39:18
Edit Download
8.49 KB lrw-r--r-- 2013-12-08 17:11:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).