Exception: OpenURI::HTTPError

Inherits:
StandardError
  • Object
show all
Defined in:
opal/stdlib/open-uri.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, io) ⇒ HTTPError

Returns a new instance of HTTPError.



175
176
177
178
# File 'opal/stdlib/open-uri.rb', line 175

def initialize(message, io)
  super(message, io)
  @io = io
end

Instance Attribute Details

#ioObject (readonly)

Returns the value of attribute io.



179
180
181
# File 'opal/stdlib/open-uri.rb', line 179

def io
  @io
end