Skip to content

Conversation

@carols10cents
Copy link
Contributor

@carols10cents carols10cents commented Dec 12, 2025

Which issue does this PR close?

Rationale for this change

When a user has lots of uses of object_store and one of them is returning object_store::Error::NotImplemented, provide more information to make debugging easier.

What changes are included in this PR?

I added 2 fields to NotImplemented: a description of what operation isn't implemented and which implementation is returning this.

Are there any user-facing changes?

This is a breaking change to the public API of the object_store::Error type.

Because of the additional fields on the error variant, if anyone is matching on this variant, they'll likely have to update their code. If any implementers of this trait are returning this error, they'll have to update their construction of this variant.

@alamb alamb changed the title fix: Add more details on what isn't implemented fix: Add fields to Error::NotImplemented with more details on what isn't implemented Dec 18, 2025
@alamb alamb merged commit 493a5d0 into apache:main Dec 18, 2025
8 checks passed
@alamb
Copy link
Contributor

alamb commented Dec 18, 2025

Thank you @carols10cents and @kylebarron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NotImplemented error should say what method wasn't implemented by what implementation

4 participants