-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
urlgetter: expose the operation that failed (#680)
This is very useful to quickly understand what actually went wrong. It is a facet of the next design that was never really used. Also, acknowledge that, in some cases, there isn't a real failed operation because the error happens before we enter into our network stack. This happens, for example, when the context we're using is canceled. To address this potential issue, introduce and use a `"top_level"` operation that describes this specific situation. This work is part the telegram rewrite: #646. Also, with this diff landing we can close #311, which mentioned oonimkall (the old implementation of netx) but is still basically talking about the same concept we're implementing here.
- Loading branch information
1 parent
e1297dc
commit 746812d
Showing
4 changed files
with
49 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters