Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Replace custom errors with native panic codes in DoubleEndedQueue #4872

Merged
merged 5 commits into from
Feb 6, 2024

Conversation

Amxx
Copy link
Collaborator

@Amxx Amxx commented Feb 2, 2024

Fixes #4867

PR Checklist

  • Tests
  • Documentation
  • Changeset entry (run npx changeset add)

@Amxx Amxx added this to the 5.1 milestone Feb 2, 2024
@Amxx Amxx requested a review from ernestognw February 2, 2024 17:55
Copy link

changeset-bot bot commented Feb 2, 2024

🦋 Changeset detected

Latest commit: 16c52e5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openzeppelin-solidity Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Amxx Amxx requested a review from ernestognw February 6, 2024 17:12
@ernestognw
Copy link
Member

I'll take some time to try updating the docs to show NatSpec for internal constants.

Otherwise we can't reference the listed codes. Also I noticed that the Panic library is not in the docs and also that we're interested in showing the panic codes in the docs too.

@ernestognw
Copy link
Member

Done. I'm approving, but, would you mind taking a look to the preview @Amxx?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Idea: use panic codes instead of custom errors
2 participants