PHP 8.2.31
Preview: exceptions.rb Size: 710 B
/proc/thread-self/root/opt/alt/ruby20/lib64/ruby/2.0.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-02-14 15:51:45
Edit Download
14.36 KB lrw-r--r-- 2012-05-23 13:09:26
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.78 KB lrw-r--r-- 2015-01-14 07:32:00
Edit Download
8.42 KB lrw-r--r-- 2012-07-05 03:31:31
Edit Download

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