W3cubDocs

/Ruby 3

class OpenURI::HTTPError

Parent:
StandardError

Attributes

io[R]

Public Class Methods

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

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