Skip to content

Result: allow creation from a function that throws #7

@mspiess

Description

@mspiess

I'm not sure if this is even possible.
Suggested signature:

static Result<S, Throwable> ofThrowing(Supplier<S> throws Throwable);

Perhaps Throwable is too broad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions