I know about the Validated type, but it’s more the...
# arrow
h
I know about the Validated type, but it’s more the “Error or nothing”, case i’m thinking about. Let’s it is a pure function, with some business logic that determines if the user is old enough, and there might be multiple conditions that could fail. So the error could be smething like “NotOldEnoughForABoy” or “NotOldEnoughForAGirl”. It’s just a bad made up example 🙂