Exception: Flydata::ServerDataProcessingTimeout

Inherits:
AgentError
  • Object
show all
Defined in:
lib/flydata/errors.rb

Instance Attribute Summary collapse

Attributes inherited from AgentError

#description

Instance Method Summary collapse

Methods inherited from AgentError

description

Constructor Details

#initialize(message, options) ⇒ ServerDataProcessingTimeout

Returns a new instance of ServerDataProcessingTimeout.



32
33
34
35
# File 'lib/flydata/errors.rb', line 32

def initialize(message, options)
  super(message)
  @state = options[:state]
end

Instance Attribute Details

#stateObject (readonly)

Returns the value of attribute state.



36
37
38
# File 'lib/flydata/errors.rb', line 36

def state
  @state
end