CDCgov / CDCgov/ixa

Global property validation error should be less specific

Open
#910 1 comment 0 reactions 1 assignee View on GitHub

@k88hudson-cfa is already working on this.

Since Jun 8, 2026.

ergonomics user feedback
Dominant language
Rust
Stars
36
Forks
8
Avg merge
4d 13h
Merged PRs (30d)
3

Description

It should take a more generic error (with Into etc.)

It ends up requiring code like:

fn validate_inputs_for_property(
    p: &ParameterValues,
) -> Result<(), Box<dyn std::error::Error + 'static>> {
    validate_inputs(p).map_err(Into::into)
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.