Helper utility to construct, returns an Expected<..>
Summary: folly::File's throwing constructor results in many try-catches in the callsites or bugs where the exception is not caught. This is a helper method to return an Expected with system_error wrapped into an exception_wrapper. Reviewed By: yfeldblum Differential Revision: D4995702 fbshipit-source-id: be0e22b37c21c35bf157ada598916b05dfd32631
Showing
Please register or sign in to comment