Exception: Strobe::NotifiableError

Inherits:
StrobeError
  • Object
show all
Defined in:
lib/strobe.rb

Direct Known Subclasses

JSONParseError, RequestError, ServerError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, data = nil) ⇒ NotifiableError

Returns a new instance of NotifiableError.



60
61
62
63
# File 'lib/strobe.rb', line 60

def initialize(message = nil, data = nil)
  super(message)
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



59
60
61
# File 'lib/strobe.rb', line 59

def data
  @data
end