scala-io icon indicating copy to clipboard operation
scala-io copied to clipboard

Fix acquireFor to not throw errors on resource open

Open brakthehack opened this issue 7 years ago • 0 comments

Resource's acquireFor was throwing exceptions like FileNotFound when the resource was opened, even though the contract states that errors would be caught and returned in the resulting either. This change allows acquireFor to fulfill the specified contract.

brakthehack avatar Jun 20 '17 00:06 brakthehack