Skip to content

Add Either[Throwable, T]-unwrapping methods #203

@adamw

Description

@adamw

For situations when the left-side of an either should become a "panic" / bug.

Maybe: myEither.! - and then rename .ok() to myEither.? (when used within a bound)
Or: myEither.orThrow()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions