Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
May 16, 2019

Conversation

thbar
Copy link
Owner

@thbar thbar commented May 16, 2019

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).

@thbar thbar merged commit f6fa073 into master May 16, 2019
@thbar thbar deleted the improve-error-message branch May 16, 2019 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant