Exception: Identisure::WaitError
- Inherits:
-
StandardError
- Object
- StandardError
- Identisure::WaitError
- Defined in:
- lib/identisure/error.rb
Instance Attribute Summary collapse
-
#timeout ⇒ Object
readonly
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize(timeout:) ⇒ WaitError
constructor
A new instance of WaitError.
Constructor Details
#initialize(timeout:) ⇒ WaitError
Returns a new instance of WaitError.
16 17 18 19 |
# File 'lib/identisure/error.rb', line 16 def initialize(timeout:) @timeout = timeout super('Poll timed out') end |
Instance Attribute Details
#timeout ⇒ Object (readonly)
Returns the value of attribute timeout.
14 15 16 |
# File 'lib/identisure/error.rb', line 14 def timeout @timeout end |