Skip to content

Stable error type for checksum validation errors #4718

Description

@aajtodd

Consumers of aws-smithy-checksums response validation (primarily aws-sdk-s3) have no stable way to recover a checksum validation error. A mismatch surfaces only as a boxed body
error, so classifying it means downcast_ref::<aws_smithy_checksums::body::validate::Error>().

aws-smithy-checksums is 0.x, so a minor bump breaks the TypeId: a consumer compiled against one version can't downcast an error produced by another, and the mismatch silently goes
unrecognized.

Want a stable, version-independent error type for validation failures — 1.x the type, or move the kind to a shared 1.x crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions