Exception: Evostream::Commands::Errors::MissingMandatory

Inherits:
StandardError
  • Object
show all
Defined in:
lib/evostream/event/commands/error.rb

Overview

Exception if command have no mandatory parameter

Instance Method Summary collapse

Constructor Details

#initialize(arg_mandatory, klass) ⇒ MissingMandatory



8
9
10
# File 'lib/evostream/event/commands/error.rb', line 8

def initialize(arg_mandatory, klass)
  super "Parameter missing(s) #{arg_mandatory} in #{klass}"
end