Skip to content

Add detail fields to invalid message errors - #4821

Open
divergentdave wants to merge 1 commit into
release/0.7from
david/invalid-message-detail
Open

Add detail fields to invalid message errors#4821
divergentdave wants to merge 1 commit into
release/0.7from
david/invalid-message-detail

Conversation

@divergentdave

Copy link
Copy Markdown
Collaborator

On the main branch, we are better about adding detail fields to invalid message errors than on the release branch. This PR backfills some detail fields where we use the invalid message problem type. I left the CodecError case message fairly generic, even though that's the one I ran into most recently, because I wanted to be conservative about reflecting sensitive information in error messages. The other cases are easier to justify because they use &'static str values.

@divergentdave
divergentdave requested a review from a team as a code owner August 20, 2026 23:33
@divergentdave
divergentdave force-pushed the david/invalid-message-detail branch from 5d8f8e0 to bbd9ab1 Compare August 20, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant