(this: AnyWithProps, errorSchema: Schema.Schema.All)
| 549 | }) |
| 550 | }, |
| 551 | setError(this: AnyWithProps, errorSchema: Schema.Schema.All) { |
| 552 | return makeProto({ |
| 553 | _tag: this._tag, |
| 554 | payloadSchema: this.payloadSchema, |
| 555 | successSchema: this.successSchema, |
| 556 | errorSchema, |
| 557 | defectSchema: this.defectSchema, |
| 558 | annotations: this.annotations, |
| 559 | middlewares: this.middlewares |
| 560 | }) |
| 561 | }, |
| 562 | setPayload(this: AnyWithProps, payloadSchema: Schema.Struct<any> | Schema.Struct.Fields) { |
| 563 | return makeProto({ |
| 564 | _tag: this._tag, |
nothing calls this directly
no test coverage detected