kotlin-result/src
Michael Bull f0fb536516 Add Result.of factory method
Inspired by result4k, invokes a callback within a try/catch block,
returning an Error if an exception was thrown and Ok otherwise.
2017-10-22 16:07:24 +01:00
..
main/kotlin/com/github/michaelbull/result Add Result.of factory method 2017-10-22 16:07:24 +01:00
test/kotlin/com/github/michaelbull/result Remove factory methods and expose Ok/Error constructors 2017-10-22 16:07:24 +01:00