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