We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 504d8af commit fbf382cCopy full SHA for fbf382c
1 file changed
lib/tilda_ruby/internal/util.rb
@@ -157,7 +157,7 @@ def coerce_hash!(input)
157
in Hash | nil => coerced
158
coerced
159
else
160
- message = "Expected a #{Hash} or #{TildaRuby::Internal::Type::BaseModel}, got #{data.inspect}"
+ message = "Expected a #{Hash} or #{TildaRuby::Internal::Type::BaseModel}, got #{input.inspect}"
161
raise ArgumentError.new(message)
162
end
163
0 commit comments