W3cubDocs

/Ruby 2.4

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 367
def initialize(message, io)
  super(message)
  @io = io
end

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