-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
This seems like the manual implementation of anonymous sum types, an idea that’s been floated as an RFC a few times. The first one seems to have been in 2014. It’s a feature that I’d love to have, especially when combined with another suggested feature to allow enum variants to be treated as fully-fledged types.
IIRC, the Error Handling Project Group is aware of these ideas. If this kind of thing interests you and you want to contribute, you should look into getting involved with that group.
Seems like you're looking for https://github.com/jam1garner/some-error