Exception: MCollective::BackoffSuggestion

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mcollective/exceptions.rb

Direct Known Subclasses

MessageNotReceived, UnexpectedMessageType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(backoff = nil) ⇒ BackoffSuggestion

Returns a new instance of BackoffSuggestion.



22
23
24
25
# File 'lib/mcollective/exceptions.rb', line 22

def initialize(backoff=nil)
  @backoff = backoff
  super
end

Instance Attribute Details

#backoffObject (readonly)

Returns the value of attribute backoff.



20
21
22
# File 'lib/mcollective/exceptions.rb', line 20

def backoff
  @backoff
end