diff --git a/actor/manager/manager.go b/actor/manager/manager.go index 8b08de38..75a11de5 100644 --- a/actor/manager/manager.go +++ b/actor/manager/manager.go @@ -298,7 +298,7 @@ func suiteMethod(method reflect.Method) (*MethodType, error) { ) if outNum > 2 || outNum == 0 { - return nil, errors.New("num out invalid") + return nil, errors.New("the method must have one or two return values") } // The latest return type of the method must be error.