-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make abort->error conversion one way
Having DapError convertible into DapAbort means that an Error can be converted into an abort and an abort converted into an error an infinite number of times, meaning the type can grow in an unbounded way at runtime. This is very confusing to reason about when reading the signature of a method that returns a `DapAbort`. Now a method that returns a `DapAbort` can only return due to a documented protocol error and not another system related error (such as mis configuration or IO).
- Loading branch information
Showing
16 changed files
with
223 additions
and
195 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
Oops, something went wrong.