Exception: Spear::ParametersNotValid

Inherits:
Error
  • Object
show all
Defined in:
lib/spear/exceptions.rb

Constant Summary collapse

DEFAULT =
'The parameters is invalid.'

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ParametersNotValid

Returns a new instance of ParametersNotValid.



21
22
23
# File 'lib/spear/exceptions.rb', line 21

def initialize(message)
  super(message || DEFAULT)
end