Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

refactor: one error code file #161

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

thesimplekid
Copy link
Collaborator

Alternative to #131

I found having having the error codes split across multiple files to be confusing since the same error can be used in multiple nuts. This change keep all the error codes in one file while noting what nut(s) each error code is relevant to.

Open to comments on which one others prefer.

Copy link
Contributor

@callebtc callebtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I agree it's better in one file.

Copy link
Contributor

@elnosh elnosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this better as well

@thesimplekid thesimplekid mentioned this pull request Sep 9, 2024
6 tasks
@callebtc callebtc merged commit 82e392b into cashubtc:main Sep 10, 2024
1 check passed
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.

3 participants