W3cubDocs

/Ruby 2.3

class OpenURI::HTTPError

Parent:
StandardError

Attributes

io[R]

Public Class Methods

new(message, io) Show source
Calls superclass method Exception.new
# File lib/open-uri.rb, line 364
def initialize(message, io)
  super(message)
  @io = io
end

Ruby Core © 1993–2016 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.