Exception: WIKK::WebBrowser::Error

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/wikk_webbrowser.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(web_return_code:, message:) ⇒ Error

Returns a new instance of Error.



22
23
24
25
# File 'lib/wikk_webbrowser.rb', line 22

def initialize(web_return_code:, message:)
  super(message)
  @web_return_code = web_return_code
end

Instance Attribute Details

#web_return_codeObject

Returns the value of attribute web_return_code.



20
21
22
# File 'lib/wikk_webbrowser.rb', line 20

def web_return_code
  @web_return_code
end