Exception: Typed::Coercion::CoercionNotSupportedError
- Inherits:
-
CoercionError
- Object
- StandardError
- CoercionError
- Typed::Coercion::CoercionNotSupportedError
- Extended by:
- T::Sig
- Defined in:
- lib/typed/coercion/coercion_not_supported_error.rb
Instance Method Summary collapse
-
#initialize(type:) ⇒ CoercionNotSupportedError
constructor
A new instance of CoercionNotSupportedError.
Constructor Details
#initialize(type:) ⇒ CoercionNotSupportedError
Returns a new instance of CoercionNotSupportedError.
9 10 11 |
# File 'lib/typed/coercion/coercion_not_supported_error.rb', line 9 def initialize(type:) super("Coercer not found for type #{type}.") end |