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

Raise a descriptive error if MONIO has not performed a read operation before attempting to write. #37

Open
mo-joshuacolclough opened this issue Mar 21, 2024 · 0 comments
Assignees

Comments

@mo-joshuacolclough
Copy link
Contributor

mo-joshuacolclough commented Mar 21, 2024

Description

Currently, if you try to write an increment file without first reading in some data, MONIO will throw an error. This happens quite far down the line during the write -

utils::throwException("AtlasWriter::populateDataVec()> "
.

"Data container is not configured for the expected data..."

This isn't particularly helpful in this case - perhaps the issue can be caught earlier on in the process, and a useful error message can be provided.

@mo-joshuacolclough mo-joshuacolclough self-assigned this Mar 21, 2024
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

No branches or pull requests

1 participant