Exception: Formalism::Form::NoCoercionError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/formalism/form/coercion.rb

Overview

Error for undefined type in coercion

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ NoCoercionError

Returns a new instance of NoCoercionError.



55
56
57
# File 'lib/formalism/form/coercion.rb', line 55

def initialize(type)
	super "Formalism has no coercion to #{type}"
end