Exception: SafeType::CoercionError

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

Instance Method Summary collapse

Constructor Details

#initialize(message = "unable to transform into the requested type") ⇒ CoercionError

Returns a new instance of CoercionError.



5
6
7
# File 'lib/safe_type/errors.rb', line 5

def initialize(message="unable to transform into the requested type")
  super
end