Exception: Booker::MidPaginationError
- Inherits:
-
StandardError
- Object
- StandardError
- Booker::MidPaginationError
- Defined in:
- lib/booker/errors.rb
Instance Attribute Summary collapse
-
#error_occurred_during_params ⇒ Object
Returns the value of attribute error_occurred_during_params.
-
#message ⇒ Object
Returns the value of attribute message.
-
#results_fetched_prior_to_error ⇒ Object
Returns the value of attribute results_fetched_prior_to_error.
Instance Method Summary collapse
-
#initialize(message: "Error occurred during call mid-pagination", error_occurred_during_params: {}, results_fetched_prior_to_error: []) ⇒ MidPaginationError
constructor
A new instance of MidPaginationError.
Constructor Details
#initialize(message: "Error occurred during call mid-pagination", error_occurred_during_params: {}, results_fetched_prior_to_error: []) ⇒ MidPaginationError
Returns a new instance of MidPaginationError.
25 26 27 28 29 |
# File 'lib/booker/errors.rb', line 25 def initialize(message: "Error occurred during call mid-pagination", error_occurred_during_params: {}, results_fetched_prior_to_error: []) self.error_occurred_during_params = error_occurred_during_params self.results_fetched_prior_to_error = results_fetched_prior_to_error self. = end |
Instance Attribute Details
#error_occurred_during_params ⇒ Object
Returns the value of attribute error_occurred_during_params.
23 24 25 |
# File 'lib/booker/errors.rb', line 23 def error_occurred_during_params @error_occurred_during_params end |
#message ⇒ Object
Returns the value of attribute message.
23 24 25 |
# File 'lib/booker/errors.rb', line 23 def @message end |
#results_fetched_prior_to_error ⇒ Object
Returns the value of attribute results_fetched_prior_to_error.
23 24 25 |
# File 'lib/booker/errors.rb', line 23 def results_fetched_prior_to_error @results_fetched_prior_to_error end |