Exception: Musa::Series::Serie::Prototyping::PrototypingError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/musa-dsl/series/base-series.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ PrototypingError

Returns a new instance of PrototypingError.



327
328
329
330
# File 'lib/musa-dsl/series/base-series.rb', line 327

def initialize(message = nil)
  message ||= 'This serie is a prototype serie: cannot be consumed. To consume the serie use an instance serie via .instance method'
  super message
end