Declare the error union for a pipeline when inference only picks the first step.
const errors = declareErrors<ParseError | NetworkError>();const step = errors.annotate(parseThing()); Copy
const errors = declareErrors<ParseError | NetworkError>();const step = errors.annotate(parseThing());
Declare the error union for a pipeline when inference only picks the first step.