(error: Formatter<E>, defect: Formatter<unknown>)
| 10571 | } |
| 10572 | |
| 10573 | function causeToFormatter<E>(error: Formatter<E>, defect: Formatter<unknown>) { |
| 10574 | const causeReason = causeReasonToFormatter(error, defect) |
| 10575 | return (t: Cause_.Cause<E>) => `Cause([${t.reasons.map(causeReason).join(", ")}])` |
| 10576 | } |
| 10577 | |
| 10578 | /** |
| 10579 | * Type-level representation of {@link ErrorInstance}. |
no test coverage detected