zio-jdbc
zio-jdbc copied to clipboard
Effectively leverage typed errors by defining precise sealed hierarchy of errors
Ideally, we would have a sealed trait
that defines every possible error that can result from JDBC, each as a case class that stores relevant context, including any underlying Throwable
. The sealed trait should be engineered to group related exceptions into a finite number of logical categories. We need confidence that we have done enough research to perform this grouping and that it is necessary and sufficient for all JDBC methods. Finally, we need to update all query methods to return the more precise error type, using refineToOrDie
, etc.
/bounty $100
💎 $100 bounty • ZIO
Steps to solve:
-
Start working: Comment
/attempt #74
with your implementation plan -
Submit work: Create a pull request including
/claim #74
in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
Thank you for contributing to zio/zio-jdbc!
Add a bounty • Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
🟡 @pablf | May 24, 2023, 11:12:03 AM | #142 |
/attempt #74
💡 @pablf submitted a pull request that claims the bounty. You can visit your org dashboard to reward.
💡 @pablf submitted a pull request that claims the bounty. You can visit your org dashboard to reward.