onrails
    Preparing search index...

    Type Alias NonExhaustiveError<Remaining>

    Returned by .exhaustive() when union cases are still missing (compile-time error).

    type NonExhaustiveError<Remaining> = {
        __nonExhaustive: "Add .with() branches for remaining cases";
        remaining: Remaining;
    }

    Type Parameters

    • Remaining
    Index

    Properties

    __nonExhaustive: "Add .with() branches for remaining cases"
    remaining: Remaining