Exception: ConnectorsShared::SuspendedJobError
- Inherits:
-
StandardError
- Object
- StandardError
- ConnectorsShared::SuspendedJobError
- Defined in:
- lib/connectors_shared/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.
47 48 49 50 51 |
# File 'lib/connectors_shared/errors.rb', line 47 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.
45 46 47 |
# File 'lib/connectors_shared/errors.rb', line 45 def cursors @cursors end |
#suspend_until ⇒ Object
Returns the value of attribute suspend_until.
45 46 47 |
# File 'lib/connectors_shared/errors.rb', line 45 def suspend_until @suspend_until end |