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

Figure out error handling #7

Closed
VorpalBlade opened this issue Feb 29, 2024 · 1 comment
Closed

Figure out error handling #7

VorpalBlade opened this issue Feb 29, 2024 · 1 comment
Labels
C-enhancement Category: New feature or request

Comments

@VorpalBlade
Copy link
Owner

Currently using anyhow. Not ideal in a library (also no serde support).

Requirements:

  • Painless inclusion of backtraces (on stable), including for nested causes (thiserror fails this).
  • Ability to use errors as the associated type in TryFrom etc (error-stack fails this).
  • Ability to convert existing code one step at a time (error-stack fails this, no backtraces for you until you convert everything)
  • Support for type erased errors where it makes sense
@VorpalBlade VorpalBlade added the C-enhancement Category: New feature or request label Feb 29, 2024
@VorpalBlade VorpalBlade mentioned this issue Feb 29, 2024
3 tasks
@VorpalBlade
Copy link
Owner Author

Will continue to use anyhow except for where errors need to be programatically handled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant