Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Improved exception types #169

Merged
merged 3 commits into from
Dec 28, 2022

Conversation

TomNicholas
Copy link
Member

Makes exception classes more specific by replacing TreeError with InvalidTreeError and NotFoundInTreeError.

  • Closes #xxxx
  • Tests added
  • Passes pre-commit run --all-files
  • New functions/methods are listed in api.rst
  • Changes are summarized in docs/source/whats-new.rst

@TomNicholas TomNicholas added the enhancement New feature or request label Dec 28, 2022
@TomNicholas TomNicholas enabled auto-merge (squash) December 28, 2022 02:01
@TomNicholas TomNicholas merged commit e8feb98 into xarray-contrib:main Dec 28, 2022
flamingbear pushed a commit to flamingbear/rewritten-datatree that referenced this pull request Jan 19, 2024
* created more specific tree-related exception types

* listed new exception types in public API
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant