NRLMMD-GEOIPS / NRLMMD-GEOIPS/pluginify
Migrate PluginValidationError from GeoIPS into Pluginify
Open
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Requested Update
Description
- Move the
PluginValidationErrorfrom GeoIPS into Pluginify
Background and Motivation
- Geoips PR 1269 introduces the
PluginValidationError, a new exception class inerrors.pythat wraps the raw pydanticValidationErrorand replaces it with a concise summary grouped by field. The error identifies the plugin by name, interface, package, and file path, then lists only the unique error messages per field rather than repeating them across every union variant.
Alternative Solutions
- Keep that logic within GeoIPS
Environment
Code to demonstrate issue
- See the initial issue for a detailed breakdown on how to reproduce the error
Checklist for Completion
- Replicate the PR contents in the Pluginify repository
- Close the original GeoIPS PR, pointing towards the new PR
- Ensure that the error reporting still works
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.