Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Tracking Issue: Error Handling Book #38

Open
1 of 5 tasks
yaahc opened this issue Apr 16, 2021 · 3 comments
Open
1 of 5 tasks

Tracking Issue: Error Handling Book #38

yaahc opened this issue Apr 16, 2021 · 3 comments

Comments

@yaahc
Copy link
Member

yaahc commented Apr 16, 2021

This is the tracking issue for progress writing an Error Handling Book documenting the error handling project group's work to produce a markdown book comprehensively documenting error handling in Rust.

Related Documents

Todo

  • @yaahc: Summarize existing notes from previous meetings and move notes document to the lib's team HackMD
  • @nagashi: Create a diagram showing how the various pieces of error handling relate to each other
  • @seanchen1991: Write an updated minigrep example using 3rd party libraries for a full and idiomatic implementation of error handling
  • Write the rest of the owl Book

Completed

@yaahc
Copy link
Member Author

yaahc commented Apr 16, 2021

In https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/3rd.20party.20libraries.20in.20official.20books.2Fdocumentation we discussed whether it would be appropriate to include 3rd party error handling libraries in the Error Handling Book, and the trade offs of doing so vs not. The general sentiment seemed to be that the advantages of giving users concrete examples that they can then apply to their own code outweigh the costs of potentially favoring particular 3rd party libraries or mentioning libraries that aren't maintained by the project in official project documentation. We also felt that it would be best to choose a transparent and objective method for deciding on which crates to use in our examples, so that it's clear when its appropriate to add a new library to the book or swap out an old one.

Based on this discussion we've come up with the following plan:

  • Create a new set of categories on crates.io related to error handling
  • Release an blog post announcing our intention to write a book about error handling
  • Describe the issue with third party libraries, and our assessment of the best approach
  • Describe how we're going to pick which libraries are going to go into the book
  • Encourage authors of error handling crates to update their libraries to use the new tags (might be worth helping out with this effort proactively)
  • Make it clear that this is all our current plan, and that we're interested in feedback and open to changing our plan

Then once this is all done we start writing the book ^_^. In the book we will need to emphasize that the crates mentioned are 3rd party crates and not controlled by the libs team or rust project.

@nagashi
Copy link
Contributor

nagashi commented Apr 16, 2021 via email

@yaahc
Copy link
Member Author

yaahc commented Apr 16, 2021

None of the specific libraries will be in the diagram, but we might want to include the crates.io categories.

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

2 participants