(hasError bool)
| 561 | } |
| 562 | |
| 563 | func (c *handlerCtx) setReplyBodyCodec(hasError bool) { |
| 564 | if hasError { |
| 565 | return |
| 566 | } |
| 567 | c.ReplyBodyCodec() |
| 568 | } |
| 569 | |
| 570 | func (c *handlerCtx) writeReply(stat *Status) *Status { |
| 571 | if !stat.OK() { |
no test coverage detected