Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Proper error type #139

Closed
swsnr opened this issue May 16, 2020 · 2 comments
Closed

Proper error type #139

swsnr opened this issue May 16, 2020 · 2 comments
Assignees

Comments

@swsnr
Copy link
Owner

swsnr commented May 16, 2020

No more dyn Error

@swsnr swsnr self-assigned this May 16, 2020
@swsnr swsnr added this to the 1.0.0 milestone May 26, 2020
@swsnr
Copy link
Owner Author

swsnr commented May 28, 2020

Use https://github.com/dtolnay/thiserror to declare custom errors and https://docs.rs/fehler/1.0.0/fehler/index.html to reduce the Ok boilerplate.

@swsnr
Copy link
Owner Author

swsnr commented May 28, 2020

Or pick https://github.com/dtolnay/anyhow and call it a day

swsnr added a commit that referenced this issue May 29, 2020
swsnr added a commit that referenced this issue May 29, 2020
@swsnr swsnr closed this as completed in 20a5134 May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant