Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make Watchman.blocking_read return a result
Summary: this stack converts all of the functions in watchman.ml to return results instead of throwing exceptions, so that we can ensure we handle all the error cases. during the transition, we will call `raise_error` to maintain exception behavior, but eventually thread the `result` further and further up and eliminate `try/with`'s. Reviewed By: nmote Differential Revision: D28173779 fbshipit-source-id: a2f27bdb3d81583ec0a84d7789f0996a8af13325
- Loading branch information
1 parent
ceb6eb2
commit 43717a2
Showing
1 changed file
with
33 additions
and
25 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