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.



172
173
174
175
# File 'opal/stdlib/open-uri.rb', line 172

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

Instance Attribute Details

#ioObject (readonly)

Returns the value of attribute io.



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

def io
  @io
end