After deleting the catch-all Error arm from /generic/bookings in GenericUnions/Endpoints.cs:

> dotnet build
GenericUnions\Endpoints.cs(18,27): error CS8509: The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern 'Bookings.ResultPattern.Error{ Code: "" }' is not covered.
Build FAILED.
    0 Warning(s)
    1 Error(s)
