Skip to content

Conversation

@psyclaudeZ
Copy link
Contributor

@psyclaudeZ psyclaudeZ commented Oct 20, 2025

Before this PR

The ErrorCode isn't captured as part of the library. It would've been handy for my work resolving palantir/conjure-python#910 where the ErrorCode will be imported and used as part of the generated Conjure Error.

After this PR

Adding the enum type and make ConjureHTTPError use that. Since it's a stringish enum, it should be generally free from back compat issues.

==COMMIT_MSG==
Add Conjure ErrorCode enum type
==COMMIT_MSG==

Possible downsides?

@psyclaudeZ psyclaudeZ requested a review from johnhany97 October 20, 2025 20:14
@changelog-app
Copy link

changelog-app bot commented Oct 20, 2025

Successfully generated changelog entry!

What happened?

Your changelog entries have been stored in the database as part of our migration to ChangelogV3.

Entry generated via PR title

To modify this entry, edit PR title using proper format.


📋Changelog Preview

💡 Improvements

  • Add Conjure ErrorCode enum type (#171)

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.

2 participants