Sha256: 3e26a5c076fd1c0980a3d9c0156df368baeafbfc607fbaf417716c614ad338c9

Contents?: true

Size: 278 Bytes

Versions: 6

Compression:

Stored size: 278 Bytes

Contents

# typed: strict

module Typed
  module Coercion
    class CoercionNotSupportedError < CoercionError
      extend T::Sig

      sig { params(type: T::Types::Base).void }
      def initialize(type:)
        super("Coercer not found for type #{type}.")
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sorbet-schema-0.9.2 lib/typed/coercion/coercion_not_supported_error.rb
sorbet-schema-0.9.1 lib/typed/coercion/coercion_not_supported_error.rb
sorbet-schema-0.9.0 lib/typed/coercion/coercion_not_supported_error.rb
sorbet-schema-0.8.0 lib/typed/coercion/coercion_not_supported_error.rb
sorbet-schema-0.7.2 lib/typed/coercion/coercion_not_supported_error.rb
sorbet-schema-0.7.1 lib/typed/coercion/coercion_not_supported_error.rb