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

Add bare bone error wrapping library #1073

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

byte-bandit
Copy link
Contributor

@byte-bandit byte-bandit commented Jan 10, 2024

Related Github tickets

Background

There's a lot of dynamic error messages being built in legacy Paloma code that relies on outdated error handling patterns. This small util package helps with defining constant errors while still allowing for dynamic error messages and working pattern matching.

Testing completed

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes
  • If there are breaking changes, there is a supporting migration.

@byte-bandit byte-bandit merged commit bf58df2 into palomachain:master Jan 10, 2024
2 checks passed
@byte-bandit byte-bandit deleted the clohr/liberr branch January 10, 2024 13:34
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