class Attributor::IncompatibleTypeError

Public Class Methods

new(type:, value_type:, context:) click to toggle source
Calls superclass method
# File lib/attributor/exceptions.rb, line 9
def initialize(type:, value_type:, context:)
  super "Type #{type} cannot load values of type #{value_type} while loading #{Attributor.humanize_context(context)}."
end