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 DeFiErrors abstraction for error messages #1758

Merged
merged 2 commits into from
Feb 16, 2023
Merged

Add DeFiErrors abstraction for error messages #1758

merged 2 commits into from
Feb 16, 2023

Conversation

prasannavl
Copy link
Member

/kind refactor

  • Add DeFiErrors class that abstracts error messages.
  • Provide meaningful parameters and construct errors message from it in a coherent way than similar, but different messages across the codebase.
  • Eventually use this to slowly add error codes than just messages for external APIs to rely on.

@prasannavl
Copy link
Member Author

  • Kickstarts the pattern to refactor error message. Merging to get this done in peace-meals later, but to have fresh code follow this.
  • Jellyfish still on failures due to Ubuntu 18 deprecation. Ignoring and merging.

@prasannavl prasannavl merged commit c686a5b into master Feb 16, 2023
@prasannavl prasannavl deleted the pvl/errors branch February 16, 2023 01:23
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