-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove error type bound on
Handle::execute()
via new variant `Execu…
…teError::Handle`. This is awkward because handle errors may also end up in the `Check` variant, but in order to avoid that, we’d have to do one of these: * Make `ExecuteError` take individual generics for its nested errors. * Expose `TransactionInUniverse` and use its `Mismatch` type. * Make `Transaction::check()` have an error variant for handle errors when they occur inside any transaction. (That might actually be a good idea, to distinguish “transient” from permanent errors.) All of those are more complex, so we’ll stick with this for now.
- Loading branch information
Showing
2 changed files
with
24 additions
and
13 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