(this: AnyWithProps, errorSchema: Schema.Top)
| 796 | }) |
| 797 | }, |
| 798 | setError(this: AnyWithProps, errorSchema: Schema.Top) { |
| 799 | return makeProto({ |
| 800 | _tag: this._tag, |
| 801 | payloadSchema: this.payloadSchema, |
| 802 | successSchema: this.successSchema, |
| 803 | errorSchema, |
| 804 | defectSchema: this.defectSchema, |
| 805 | annotations: this.annotations, |
| 806 | middlewares: this.middlewares |
| 807 | }) |
| 808 | }, |
| 809 | setPayload(this: AnyWithProps, payloadSchema: Schema.Struct<Schema.Struct.Fields> | Schema.Struct.Fields) { |
| 810 | return makeProto({ |
| 811 | _tag: this._tag, |
nothing calls this directly
no test coverage detected