(event: Any, error: Schema.Top)
| 437 | error: Error2 |
| 438 | ): AddError<A, Error2> |
| 439 | export function addError(event: Any, error: Schema.Top): Any { |
| 440 | return make({ |
| 441 | tag: event.tag, |
| 442 | primaryKey: event.primaryKey, |
| 443 | payload: event.payload, |
| 444 | success: event.success, |
| 445 | error: Schema.Union([event.error, error]) |
| 446 | }) |
| 447 | } |