Exception: Dionysus::Producer::Genesis::CannotExecuteGenesisForModelThatIsOnlyDependency

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dionysus/producer/genesis.rb

Instance Method Summary collapse

Constructor Details

#initialize(model, topic) ⇒ CannotExecuteGenesisForModelThatIsOnlyDependency

Returns a new instance of CannotExecuteGenesisForModelThatIsOnlyDependency.



52
53
54
55
56
# File 'lib/dionysus/producer/genesis.rb', line 52

def initialize(model, topic)
  super()
  @model = model
  @topic = topic
end

Instance Method Details

#messageObject



58
59
60
# File 'lib/dionysus/producer/genesis.rb', line 58

def message
  "Cannot execute genesis for model #{model}, #{topic} because that is only a dependency. Execute it for parent instead"
end