(ctx iris.Context, err error)
| 56 | type testStructErrorHandler struct{} |
| 57 | |
| 58 | func (s *testStructErrorHandler) HandleError(ctx iris.Context, err error) { |
| 59 | ctx.StopWithError(httptest.StatusConflict, err) |
| 60 | } |
| 61 | |
| 62 | func (s *testStructErrorHandler) Handle(errText string) error { |
| 63 | return errors.New(errText) |
nothing calls this directly
no test coverage detected