Skip to content

Commit 8f177e2

Browse files
committed
update err desc to be more explicit
Signed-off-by: Cassandra Coyle <[email protected]>
1 parent 9bc7d82 commit 8f177e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actor/manager/manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ func suiteMethod(method reflect.Method) (*MethodType, error) {
298298
)
299299

300300
if outNum > 2 || outNum == 0 {
301-
return nil, errors.New("num out invalid")
301+
return nil, errors.New("num out invalid, add a return value to the function")
302302
}
303303

304304
// The latest return type of the method must be error.

0 commit comments

Comments
 (0)