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

ReadOnlyError #10

Open
kabasset opened this issue Jan 22, 2022 · 0 comments
Open

ReadOnlyError #10

kabasset opened this issue Jan 22, 2022 · 0 comments
Assignees
Labels
brand new feature Brand new feature not related to any existing service internal No impact on public API
Milestone

Comments

@kabasset
Copy link
Collaborator

Implement some ReadOnlyError to be thrown as early as possible, e.g. when trying to call ImageRaster::write() which outputs a cryptic message as of today.

This needs a bit of refactoring:

  • MefFile = Hdu container + HduInfo container (index, name, version, category...) => Hdu not mutable anymore; only modifies MefFile's HduInfos
  • Hdu::editThisHdu() -> MefFile::edit(Hdu)
  • Need to intercept "protected" keyword writing to avoid even more cryptic messages or UBs!
@kabasset kabasset added internal No impact on public API brand new feature Brand new feature not related to any existing service labels Jan 22, 2022
@kabasset kabasset added this to the 6.0 milestone Jan 22, 2022
@kabasset kabasset self-assigned this Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brand new feature Brand new feature not related to any existing service internal No impact on public API
Projects
None yet
Development

No branches or pull requests

1 participant