(ctx iris.Context, err error)
| 733 | } |
| 734 | |
| 735 | func (c *testControllerErrorHandlerContinue) HandleError(ctx iris.Context, err error) { |
| 736 | if iris.IsErrPath(err) { |
| 737 | return // continue. |
| 738 | } |
| 739 | |
| 740 | ctx.StopWithError(iris.StatusBadRequest, err) |
| 741 | } |
| 742 | |
| 743 | func (c *testControllerErrorHandlerContinue) PostTest(form registerForm) string { |
| 744 | return fmt.Sprintf("%s is %d years old\n", form.Username, form.Age) |
nothing calls this directly
no test coverage detected