Contains declarations for manipulating the Result type.
Context available when calling the resultOf function.
Returns an encapsulated result of calling the block function in the ResultContext, or returns an encapsulated Throwable if calling the block function throws an exception.