| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 1 | -0/+1 |
| | | |||||
| * | Add tests for finding (or not) hints in our error types. | Nick Mathewson | 2024-02-16 | 1 | -0/+58 |
| | | |||||
| * | Discourage providing HintableErrorImpl without using the macro. | Nick Mathewson | 2024-02-16 | 1 | -3/+10 |
| | | |||||
| * | Rename one of the hint methods to hint_specific | Nick Mathewson | 2024-02-16 | 1 | -3/+10 |
| | | |||||
| * | Refactor and improve error hinting. | Nick Mathewson | 2024-02-14 | 1 | -0/+103 |
| Instead of using complicated match statements, use downcasting to find error types that define specific hints. This also lets us define a reasonable hint-extractor for anyhow::Error, and use it when reporting errors in main. I've left an implementation of hint() in `impl Error`, to avoid breaking backward compatibility. Closes #1165. | |||||
