The type of a Bad's reason — a string tag naming a failure mode (e.g. "not_found"). Tags are the discriminant Result.matchBad switches on; the failure data lives separately in the value payload.
reason
"not_found"
value
The type of a Bad's
reason— a string tag naming a failure mode (e.g."not_found"). Tags are the discriminant Result.matchBad switches on; the failure data lives separately in thevaluepayload.