From 8b92abd1c2e8cf46b286e741b0e513a5520d0671 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 20 Jun 2021 21:52:43 +0200 Subject: [PATCH] fix: remove debug/typo --- internal/dynfunc/signature.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dynfunc/signature.go b/internal/dynfunc/signature.go index 6875174..dcf8fcc 100644 --- a/internal/dynfunc/signature.go +++ b/internal/dynfunc/signature.go @@ -58,7 +58,7 @@ func (s *Signature) ValidateInput(handlerType reflect.Type) error { firstArgType := handlerType.In(0) if !firstArgType.Implements(ctxType) { - return fmt.Errorf("fock") + return ErrMissingHandlerContextArgument } // no input required