Lifts a value into the error track.
const r = err({ kind: "parse", message: "bad json" });// Result<never, { kind: "parse"; message: string }> Copy
const r = err({ kind: "parse", message: "bad json" });// Result<never, { kind: "parse"; message: string }>
Lifts a value into the error track.