From 20675fd3989dd72d2e8c04ef5d43f087bdadc386 Mon Sep 17 00:00:00 2001 From: Giovanni Costagliola Date: Mon, 23 Dec 2024 17:34:36 +0100 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 306b4ec..97d83e6 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,8 @@ make the code more readable. * `Result.Success`: Creates a successful `Result` instance with the specified value. * `Result.Failure`: Creates a failed `Result` instance with the specified error. +* `Result.From`: Creates a successful or a failed `Result` instance depending by the argument. +* `Result.Execute`: Encapsulate the execution of the code within a guard block that catches exceptions producing a `Result` * `Result.Ensure`: Creates a successful `Result` instance if the specified condition is true, otherwise creates a failed instance with the specified error. * `Result.Bind`: Creates a `Result` instance from a delegate. This method is particularly useful