Exception: DontClose

Inherits:
Exception
  • Object
show all
Defined in:
lib/scout/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(payload = nil) ⇒ DontClose

Returns a new instance of DontClose.



52
53
54
# File 'lib/scout/exceptions.rb', line 52

def initialize(payload = nil)
  @payload = payload
end

Instance Attribute Details

#payloadObject

Returns the value of attribute payload.



51
52
53
# File 'lib/scout/exceptions.rb', line 51

def payload
  @payload
end