thbar / kiba

Data processing & ETL framework for Ruby
https://www.kiba-etl.org
Other
1.75k stars 87 forks source link

Avoid bogus "class and block" error message when nil is passed (closes #70) #73

Closed thbar closed 5 years ago

thbar commented 5 years ago

See #70 - calling transform nil would give a very confusing message.

This actually hints that it would be better to enforce this earlier, probably at the Kiba.parse time, to be able to provide more context to errors, including actual keyword used (source/transform/destination etc), and line numbers.

(I will investigate further on that part, but no hurry at the moment though).