2 ms·
The best API design is likely to erase the public type to the `any Error` existential … … but Swift has also the tooling to declare ABI-stable enums without fr
by conradev 1y ago
The best API design is likely to erase the public type to the `any Error` existential …
… but Swift has also the tooling to declare ABI-stable enums without freezing them. Clients are forced to handle unknown cases.