(ctx iris.Context, err error)
| 749 | } |
| 750 | |
| 751 | func (c *testControllerFieldErrorHandlerContinue) HandleError(ctx iris.Context, err error) { |
| 752 | if iris.IsErrPath(err) { |
| 753 | return // continue. |
| 754 | } |
| 755 | |
| 756 | ctx.StopWithError(iris.StatusBadRequest, err) |
| 757 | } |
| 758 | |
| 759 | func (c *testControllerFieldErrorHandlerContinue) PostTestField() string { |
| 760 | return fmt.Sprintf("%s is %d years old\n", c.Form.Username, c.Form.Age) |
nothing calls this directly
no test coverage detected