Exception: VCDry::InvalidEnumValueError

Inherits:
Error
  • Object
show all
Defined in:
lib/vcdry/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, values) ⇒ InvalidEnumValueError

Returns a new instance of InvalidEnumValueError.



5
6
7
# File 'lib/vcdry/error.rb', line 5

def initialize(name, values)
  super("value for #{name} must be one of '#{values.join("', '")}'")
end