Exception: Configru::OptionTypeError

Inherits:
OptionError
  • Object
show all
Defined in:
lib/configru/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(file, path, expected, got) ⇒ OptionTypeError

Returns a new instance of OptionTypeError.



15
16
17
# File 'lib/configru/exceptions.rb', line 15

def initialize(file, path, expected, got)
  super(file, path, "expected #{expected}, got #{got}")
end