Exception: SafeType::CoercionError

Inherits:
TypeError
  • Object
show all
Defined in:
lib/safe_type.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = "unable to transform the input into the requested type.") ⇒ CoercionError

Returns a new instance of CoercionError.



76
77
78
# File 'lib/safe_type.rb', line 76

def initialize(msg="unable to transform the input into the requested type.")
  super
end