Exception: MyUW::InvalidPageError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/myuw/errors.rb

Overview

A generic error to capture strange invalid HTML results. These errors can typically be used to find edge cases of HTML (such as maintenance pages and so on) in MyUW

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(page, msg = nil) ⇒ InvalidPageError

Returns a new instance of InvalidPageError.



13
14
15
16
# File 'lib/myuw/errors.rb', line 13

def initialize(page, msg=nil)
  @page = page
  super(msg)
end

Instance Attribute Details

#pageObject (readonly)

Returns the value of attribute page.



11
12
13
# File 'lib/myuw/errors.rb', line 11

def page
  @page
end