Exception: Utility::SuspendedJobError
- Inherits:
-
StandardError
- Object
- StandardError
- Utility::SuspendedJobError
- Defined in:
- lib/utility/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cursors ⇒ Object
Returns the value of attribute cursors.
-
#suspend_until ⇒ Object
Returns the value of attribute suspend_until.
Instance Method Summary collapse
-
#initialize(message = nil, suspend_until:, cursors: nil) ⇒ SuspendedJobError
constructor
A new instance of SuspendedJobError.
Constructor Details
#initialize(message = nil, suspend_until:, cursors: nil) ⇒ SuspendedJobError
Returns a new instance of SuspendedJobError.
50 51 52 53 54 |
# File 'lib/utility/errors.rb', line 50 def initialize( = nil, suspend_until:, cursors: nil) super() @suspend_until = suspend_until @cursors = cursors end |
Instance Attribute Details
#cursors ⇒ Object
Returns the value of attribute cursors.
48 49 50 |
# File 'lib/utility/errors.rb', line 48 def cursors @cursors end |
#suspend_until ⇒ Object
Returns the value of attribute suspend_until.
48 49 50 |
# File 'lib/utility/errors.rb', line 48 def suspend_until @suspend_until end |