Exception: Datashake::ReviewScraper::V2::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Datashake::ReviewScraper::V2::Error
- Defined in:
- lib/datashake-ruby-sdk/review_scraper/v2/error.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(msg, status) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, status) ⇒ Error
Returns a new instance of Error.
9 10 11 12 13 |
# File 'lib/datashake-ruby-sdk/review_scraper/v2/error.rb', line 9 def initialize(msg, status) @status = status super(msg) end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
7 8 9 |
# File 'lib/datashake-ruby-sdk/review_scraper/v2/error.rb', line 7 def status @status end |