Exception: JobIteration::Iteration::CursorError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- JobIteration::Iteration::CursorError
- Defined in:
- lib/job-iteration/iteration.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
readonly
Returns the value of attribute cursor.
Instance Method Summary collapse
-
#initialize(message, cursor:) ⇒ CursorError
constructor
A new instance of CursorError.
- #message ⇒ Object
Constructor Details
#initialize(message, cursor:) ⇒ CursorError
Returns a new instance of CursorError.
24 25 26 27 |
# File 'lib/job-iteration/iteration.rb', line 24 def initialize(, cursor:) super() @cursor = cursor end |
Instance Attribute Details
#cursor ⇒ Object (readonly)
Returns the value of attribute cursor.
22 23 24 |
# File 'lib/job-iteration/iteration.rb', line 22 def cursor @cursor end |
Instance Method Details
#message ⇒ Object
29 30 31 |
# File 'lib/job-iteration/iteration.rb', line 29 def "#{super} (#{inspected_cursor})" end |