Skip to content

Global property validation error should be less specific #910

@k88hudson-cfa

Description

@k88hudson-cfa

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)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    ergonomicsSmall syntax changes that could make writing code more friendlyuser feedbackFeedback or request from a user of ixa

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions