Exception: Plancast::PlancastError

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

Direct Known Subclasses

General, ServerError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ PlancastError

Returns a new instance of PlancastError.



33
34
35
36
# File 'lib/plancast.rb', line 33

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



31
32
33
# File 'lib/plancast.rb', line 31

def data
  @data
end