Skip to content

Conversation

@sshaw
Copy link

@sshaw sshaw commented Jan 10, 2026

Now there's no way to get these outside of parsing the error message. Having this is useful to display a user-facing error message.

Now there's no way to get these outside of parsing the error message.
Having this is useful to display a user-facing error message.
SmarterCSV::MissingKeys, "ERROR: missing attributes: employee_id. Check `reader.headers` for original headers."
)
) do |error|
expect(error.keys).to eq %i[employee_id]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could add to its own test

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