Exception: MyUW::InvalidPageError
- Inherits:
-
StandardError
- Object
- StandardError
- MyUW::InvalidPageError
- 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
-
#page ⇒ Object
readonly
Returns the value of attribute page.
Instance Method Summary collapse
-
#initialize(page, msg = nil) ⇒ InvalidPageError
constructor
A new instance of InvalidPageError.
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
#page ⇒ Object (readonly)
Returns the value of attribute page.
11 12 13 |
# File 'lib/myuw/errors.rb', line 11 def page @page end |