Skip to content

feat(error): add detailed diagnostic messages - #160

Open
0x676e67 wants to merge 1 commit into
demo/stable-error-hierarchy-111from
demo/add-detailed-error-messages-111
Open

feat(error): add detailed diagnostic messages#160
0x676e67 wants to merge 1 commit into
demo/stable-error-hierarchy-111from
demo/add-detailed-error-messages-111

Conversation

@0x676e67

@0x676e67 0x676e67 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Wreq::Error#detailed_message now includes the active native error facts, so full_message can show overlapping context such as [:timeout, :request] without changing the exception class, message, to_s, or inspect.

The diagnostic output deliberately omits the recorded URI because it may contain credentials or other sensitive values. The error, client, and proxy examples now use full_message, and proxy examples rescue the stable Wreq::Error root instead of missing specific connection subclasses.

@0x676e67
0x676e67 marked this pull request as ready for review August 6, 2026 07:28
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