Exception: Typed::Coercion::CoercionNotSupportedError

Inherits:
CoercionError
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/typed/coercion/coercion_not_supported_error.rb

Instance Method Summary collapse

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