Exception: SafeType::CoercionError
- Inherits:
-
TypeError
- Object
- TypeError
- SafeType::CoercionError
- Defined in:
- lib/safe_type.rb
Instance Method Summary collapse
-
#initialize(msg = "unable to transform the input into the requested type.") ⇒ CoercionError
constructor
A new instance of CoercionError.
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 |